home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Information / Digests / CSMP Digest / volume 3 / csmp-digest-v3-056 < prev    next >
Mailbox/MIME Entity  |  1995-12-31  |  55.7 KB  |  [TEXT/R*ch]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file Non-ISO extended-ASCII text, with CR line terminators default (weak)
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/950 MIME Email (1.0) default
100% detectItEasy Format: plain text[CR] default (weak)


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[R*ch]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 52 65 63 65 69 76 65 64 | 2d 44 61 74 65 3a 20 53 |Received|-Date: S|
|00000010| 61 74 2c 20 31 30 20 53 | 65 70 20 31 39 39 34 20 |at, 10 S|ep 1994 |
|00000020| 31 33 3a 30 35 3a 33 34 | 20 2b 30 32 30 30 0d 46 |13:05:34| +0200.F|
|00000030| 72 6f 6d 3a 20 70 6f 74 | 74 69 65 72 40 63 6c 69 |rom: pot|tier@cli|
|00000040| 70 70 65 72 2e 65 6e 73 | 2e 66 72 20 28 46 72 61 |pper.ens|.fr (Fra|
|00000050| 6e 63 6f 69 73 20 50 6f | 74 74 69 65 72 29 0d 53 |ncois Po|ttier).S|
|00000060| 75 62 6a 65 63 74 3a 20 | 63 73 6d 70 2d 64 69 67 |ubject: |csmp-dig|
|00000070| 65 73 74 2d 76 33 2d 30 | 35 36 0d 54 6f 3a 20 63 |est-v3-0|56.To: c|
|00000080| 73 6d 70 2d 64 69 67 65 | 73 74 40 65 6e 73 2e 66 |smp-dige|st@ens.f|
|00000090| 72 0d 44 61 74 65 3a 20 | 53 61 74 2c 20 31 30 20 |r.Date: |Sat, 10 |
|000000a0| 53 65 70 20 31 39 39 34 | 20 31 33 3a 30 35 3a 32 |Sep 1994| 13:05:2|
|000000b0| 39 20 2b 30 32 30 30 20 | 28 4d 45 54 20 44 53 54 |9 +0200 |(MET DST|
|000000c0| 29 0d 58 2d 4d 61 69 6c | 65 72 3a 20 45 4c 4d 20 |).X-Mail|er: ELM |
|000000d0| 5b 76 65 72 73 69 6f 6e | 20 32 2e 34 20 50 4c 32 |[version| 2.4 PL2|
|000000e0| 33 5d 0d 4d 69 6d 65 2d | 56 65 72 73 69 6f 6e 3a |3].Mime-|Version:|
|000000f0| 20 31 2e 30 0d 43 6f 6e | 74 65 6e 74 2d 54 79 70 | 1.0.Con|tent-Typ|
|00000100| 65 3a 20 74 65 78 74 2f | 70 6c 61 69 6e 3b 20 63 |e: text/|plain; c|
|00000110| 68 61 72 73 65 74 3d 49 | 53 4f 2d 38 38 35 39 2d |harset=I|SO-8859-|
|00000120| 31 0d 43 6f 6e 74 65 6e | 74 2d 54 72 61 6e 73 66 |1.Conten|t-Transf|
|00000130| 65 72 2d 45 6e 63 6f 64 | 69 6e 67 3a 20 38 62 69 |er-Encod|ing: 8bi|
|00000140| 74 0d 45 72 72 6f 72 73 | 2d 54 6f 3a 20 6c 69 73 |t.Errors|-To: lis|
|00000150| 74 6d 61 6e 40 65 6e 73 | 2e 66 72 0d 52 65 70 6c |tman@ens|.fr.Repl|
|00000160| 79 2d 54 6f 3a 20 70 6f | 74 74 69 65 72 40 63 6c |y-To: po|ttier@cl|
|00000170| 69 70 70 65 72 2e 65 6e | 73 2e 66 72 0d 58 2d 53 |ipper.en|s.fr.X-S|
|00000180| 65 71 75 65 6e 63 65 3a | 20 36 31 0d 0d 43 2e 53 |equence:| 61..C.S|
|00000190| 2e 4d 2e 50 2e 20 44 69 | 67 65 73 74 20 20 20 20 |.M.P. Di|gest |
|000001a0| 20 20 20 20 20 20 20 20 | 20 53 61 74 2c 20 31 30 | | Sat, 10|
|000001b0| 20 53 65 70 20 39 34 20 | 20 20 20 20 20 20 56 6f | Sep 94 | Vo|
|000001c0| 6c 75 6d 65 20 33 20 3a | 20 49 73 73 75 65 20 35 |lume 3 :| Issue 5|
|000001d0| 36 0d 20 0d 54 6f 64 61 | 79 27 73 20 54 6f 70 69 |6. .Toda|y's Topi|
|000001e0| 63 73 3a 0d 20 0d 20 20 | 20 20 20 20 20 20 41 20 |cs:. . | A |
|000001f0| 74 6f 6f 6c 20 49 20 63 | 6f 75 6c 64 20 52 45 41 |tool I c|ould REA|
|00000200| 4c 4c 59 20 75 73 65 2c | 20 77 72 69 74 74 65 6e |LLY use,| written|
|00000210| 20 69 74 3f 0d 20 20 20 | 20 20 20 20 20 41 73 79 | it?. | Asy|
|00000220| 6e 63 20 46 69 6c 65 4d | 67 72 20 43 61 6c 6c 73 |nc FileM|gr Calls|
|00000230| 0d 20 20 20 20 20 20 20 | 20 46 75 74 75 72 65 20 |. | Future |
|00000240| 6f 66 20 41 53 4c 4d 0d | 20 20 20 20 20 20 20 20 |of ASLM.| |
|00000250| 52 65 76 69 65 77 20 6f | 66 20 50 6f 77 65 72 4d |Review o|f PowerM|
|00000260| 61 63 20 64 65 76 74 6f | 6f 6c 73 20 61 76 61 69 |ac devto|ols avai|
|00000270| 6c 61 62 6c 65 0d 20 20 | 20 20 20 20 20 20 53 65 |lable. | Se|
|00000280| 74 44 69 61 6c 6f 67 44 | 65 66 61 75 6c 74 49 74 |tDialogD|efaultIt|
|00000290| 65 6d 28 29 20 6e 6f 74 | 20 64 6f 69 6e 67 20 61 |em() not| doing a|
|000002a0| 6e 79 74 68 69 6e 67 21 | 0d 20 20 20 20 20 20 20 |nything!|. |
|000002b0| 20 54 72 6f 75 62 6c 65 | 20 6d 61 6b 69 6e 67 20 | Trouble| making |
|000002c0| 66 6c 6f 61 74 69 6e 67 | 20 77 69 6e 64 6f 77 73 |floating| windows|
|000002d0| 20 77 6f 72 6b 20 77 69 | 74 68 20 6d 6f 64 65 6c | work wi|th model|
|000002e0| 65 73 73 20 64 69 61 6c | 6f 67 73 0d 0d 0d 0d 54 |ess dial|ogs....T|
|000002f0| 68 65 20 43 6f 6d 70 2e | 53 79 73 2e 4d 61 63 2e |he Comp.|Sys.Mac.|
|00000300| 50 72 6f 67 72 61 6d 6d | 65 72 20 44 69 67 65 73 |Programm|er Diges|
|00000310| 74 20 69 73 20 6d 6f 64 | 65 72 61 74 65 64 20 62 |t is mod|erated b|
|00000320| 79 20 46 72 61 6e 63 6f | 69 73 20 50 6f 74 74 69 |y Franco|is Potti|
|00000330| 65 72 0d 28 70 6f 74 74 | 69 65 72 40 63 6c 69 70 |er.(pott|ier@clip|
|00000340| 70 65 72 2e 65 6e 73 2e | 66 72 29 2e 0d 20 0d 54 |per.ens.|fr).. .T|
|00000350| 68 65 20 64 69 67 65 73 | 74 20 69 73 20 61 20 63 |he diges|t is a c|
|00000360| 6f 6c 6c 65 63 74 69 6f | 6e 20 6f 66 20 61 72 74 |ollectio|n of art|
|00000370| 69 63 6c 65 20 74 68 72 | 65 61 64 73 20 66 72 6f |icle thr|eads fro|
|00000380| 6d 20 74 68 65 20 69 6e | 74 65 72 6e 65 74 20 6e |m the in|ternet n|
|00000390| 65 77 73 67 72 6f 75 70 | 0d 63 6f 6d 70 2e 73 79 |ewsgroup|.comp.sy|
|000003a0| 73 2e 6d 61 63 2e 70 72 | 6f 67 72 61 6d 6d 65 72 |s.mac.pr|ogrammer|
|000003b0| 2e 20 20 49 74 20 69 73 | 20 64 65 73 69 67 6e 65 |. It is| designe|
|000003c0| 64 20 66 6f 72 20 70 65 | 6f 70 6c 65 20 77 68 6f |d for pe|ople who|
|000003d0| 20 72 65 61 64 20 63 2e | 73 2e 6d 2e 70 2e 20 73 | read c.|s.m.p. s|
|000003e0| 65 6d 69 2d 0d 72 65 67 | 75 6c 61 72 6c 79 20 61 |emi-.reg|ularly a|
|000003f0| 6e 64 20 77 61 6e 74 20 | 61 6e 20 61 72 63 68 69 |nd want |an archi|
|00000400| 76 65 20 6f 66 20 74 68 | 65 20 64 69 73 63 75 73 |ve of th|e discus|
|00000410| 73 69 6f 6e 73 2e 20 20 | 49 66 20 79 6f 75 20 64 |sions. |If you d|
|00000420| 6f 6e 27 74 20 6b 6e 6f | 77 20 77 68 61 74 20 61 |on't kno|w what a|
|00000430| 0d 6e 65 77 73 67 72 6f | 75 70 20 69 73 2c 20 79 |.newsgro|up is, y|
|00000440| 6f 75 20 70 72 6f 62 61 | 62 6c 79 20 64 6f 6e 27 |ou proba|bly don'|
|00000450| 74 20 68 61 76 65 20 61 | 63 63 65 73 73 20 74 6f |t have a|ccess to|
|00000460| 20 69 74 2e 20 20 41 73 | 6b 20 79 6f 75 72 20 73 | it. As|k your s|
|00000470| 79 73 74 65 6d 73 0d 61 | 64 6d 69 6e 69 73 74 72 |ystems.a|dministr|
|00000480| 61 74 6f 72 28 73 29 20 | 66 6f 72 20 64 65 74 61 |ator(s) |for deta|
|00000490| 69 6c 73 2e 20 20 49 66 | 20 79 6f 75 20 64 6f 6e |ils. If| you don|
|000004a0| 27 74 20 68 61 76 65 20 | 61 63 63 65 73 73 20 74 |'t have |access t|
|000004b0| 6f 20 6e 65 77 73 2c 20 | 79 6f 75 20 6d 61 79 0d |o news, |you may.|
|000004c0| 73 74 69 6c 6c 20 62 65 | 20 61 62 6c 65 20 74 6f |still be| able to|
|000004d0| 20 70 6f 73 74 20 6d 65 | 73 73 61 67 65 73 20 74 | post me|ssages t|
|000004e0| 6f 20 74 68 65 20 67 72 | 6f 75 70 20 62 79 20 75 |o the gr|oup by u|
|000004f0| 73 69 6e 67 20 61 20 6d | 61 69 6c 20 73 65 72 76 |sing a m|ail serv|
|00000500| 65 72 20 6c 69 6b 65 0d | 61 6e 6f 6e 2e 70 65 6e |er like.|anon.pen|
|00000510| 65 74 2e 66 69 20 28 6d | 61 69 6c 20 68 65 6c 70 |et.fi (m|ail help|
|00000520| 40 61 6e 6f 6e 2e 70 65 | 6e 65 74 2e 66 69 20 66 |@anon.pe|net.fi f|
|00000530| 6f 72 20 6d 6f 72 65 20 | 69 6e 66 6f 72 6d 61 74 |or more |informat|
|00000540| 69 6f 6e 29 2e 0d 20 0d | 45 61 63 68 20 69 73 73 |ion).. .|Each iss|
|00000550| 75 65 20 6f 66 20 74 68 | 65 20 64 69 67 65 73 74 |ue of th|e digest|
|00000560| 20 63 6f 6e 74 61 69 6e | 73 20 6f 6e 65 20 6f 72 | contain|s one or|
|00000570| 20 6d 6f 72 65 20 73 65 | 74 73 20 6f 66 20 61 72 | more se|ts of ar|
|00000580| 74 69 63 6c 65 73 20 28 | 63 61 6c 6c 65 64 0d 74 |ticles (|called.t|
|00000590| 68 72 65 61 64 73 29 2c | 20 77 69 74 68 20 65 61 |hreads),| with ea|
|000005a0| 63 68 20 73 65 74 20 63 | 6f 72 72 65 73 70 6f 6e |ch set c|orrespon|
|000005b0| 64 69 6e 67 20 74 6f 20 | 61 20 27 64 69 73 63 75 |ding to |a 'discu|
|000005c0| 73 73 69 6f 6e 27 20 6f | 66 20 61 20 70 61 72 74 |ssion' o|f a part|
|000005d0| 69 63 75 6c 61 72 0d 73 | 75 62 6a 65 63 74 2e 20 |icular.s|ubject. |
|000005e0| 20 54 68 65 20 61 72 74 | 69 63 6c 65 73 20 61 72 | The art|icles ar|
|000005f0| 65 20 6e 6f 74 20 65 64 | 69 74 65 64 3b 20 61 6c |e not ed|ited; al|
|00000600| 6c 20 61 72 74 69 63 6c | 65 73 20 69 6e 63 6c 75 |l articl|es inclu|
|00000610| 64 65 64 20 69 6e 20 74 | 68 69 73 20 64 69 67 65 |ded in t|his dige|
|00000620| 73 74 0d 61 72 65 20 69 | 6e 20 74 68 65 69 72 20 |st.are i|n their |
|00000630| 6f 72 69 67 69 6e 61 6c | 20 70 6f 73 74 65 64 20 |original| posted |
|00000640| 66 6f 72 6d 20 28 61 73 | 20 72 65 63 65 69 76 65 |form (as| receive|
|00000650| 64 20 62 79 20 6f 75 72 | 20 6e 65 77 73 20 73 65 |d by our| news se|
|00000660| 72 76 65 72 20 61 74 0d | 6e 65 66 2e 65 6e 73 2e |rver at.|nef.ens.|
|00000670| 66 72 29 2e 20 20 41 72 | 74 69 63 6c 65 20 74 68 |fr). Ar|ticle th|
|00000680| 72 65 61 64 73 20 61 72 | 65 20 6e 6f 74 20 61 64 |reads ar|e not ad|
|00000690| 64 65 64 20 74 6f 20 74 | 68 65 20 64 69 67 65 73 |ded to t|he diges|
|000006a0| 74 20 75 6e 74 69 6c 20 | 74 68 65 20 6c 61 73 74 |t until |the last|
|000006b0| 0d 61 72 74 69 63 6c 65 | 20 61 64 64 65 64 20 74 |.article| added t|
|000006c0| 6f 20 74 68 65 20 74 68 | 72 65 61 64 20 69 73 20 |o the th|read is |
|000006d0| 61 74 20 6c 65 61 73 74 | 20 74 77 6f 20 77 65 65 |at least| two wee|
|000006e0| 6b 73 20 6f 6c 64 20 28 | 74 68 69 73 20 69 73 20 |ks old (|this is |
|000006f0| 74 6f 20 65 6e 73 75 72 | 65 20 74 68 61 74 0d 74 |to ensur|e that.t|
|00000700| 68 65 20 74 68 72 65 61 | 64 20 69 73 20 64 65 61 |he threa|d is dea|
|00000710| 64 20 62 65 66 6f 72 65 | 20 61 64 64 69 6e 67 20 |d before| adding |
|00000720| 69 74 20 74 6f 20 74 68 | 65 20 64 69 67 65 73 74 |it to th|e digest|
|00000730| 29 2e 20 20 41 72 74 69 | 63 6c 65 20 74 68 72 65 |). Arti|cle thre|
|00000740| 61 64 73 20 74 68 61 74 | 0d 63 6f 6e 73 69 73 74 |ads that|.consist|
|00000750| 20 6f 66 20 6f 6e 6c 79 | 20 6f 6e 65 20 6d 65 73 | of only| one mes|
|00000760| 73 61 67 65 20 61 72 65 | 20 67 65 6e 65 72 61 6c |sage are| general|
|00000770| 6c 79 20 6e 6f 74 20 69 | 6e 63 6c 75 64 65 64 20 |ly not i|ncluded |
|00000780| 69 6e 20 74 68 65 20 64 | 69 67 65 73 74 2e 0d 0d |in the d|igest...|
|00000790| 54 68 65 20 64 69 67 65 | 73 74 20 69 73 20 6f 66 |The dige|st is of|
|000007a0| 66 69 63 69 61 6c 6c 79 | 20 64 69 73 74 72 69 62 |ficially| distrib|
|000007b0| 75 74 65 64 20 62 79 20 | 74 77 6f 20 6d 65 61 6e |uted by |two mean|
|000007c0| 73 2c 20 62 79 20 65 6d | 61 69 6c 20 61 6e 64 20 |s, by em|ail and |
|000007d0| 66 74 70 2e 0d 0d 49 66 | 20 79 6f 75 20 77 61 6e |ftp...If| you wan|
|000007e0| 74 20 74 6f 20 72 65 63 | 65 69 76 65 20 74 68 65 |t to rec|eive the|
|000007f0| 20 64 69 67 65 73 74 20 | 62 79 20 6d 61 69 6c 2c | digest |by mail,|
|00000800| 20 73 65 6e 64 20 65 6d | 61 69 6c 20 74 6f 20 6c | send em|ail to l|
|00000810| 69 73 74 73 65 72 76 40 | 65 6e 73 2e 66 72 0d 77 |istserv@|ens.fr.w|
|00000820| 69 74 68 20 6e 6f 20 73 | 75 62 6a 65 63 74 20 61 |ith no s|ubject a|
|00000830| 6e 64 20 6f 6e 65 20 6f | 66 20 74 68 65 20 66 6f |nd one o|f the fo|
|00000840| 6c 6c 6f 77 69 6e 67 20 | 63 6f 6d 6d 61 6e 64 73 |llowing |commands|
|00000850| 20 61 73 20 62 6f 64 79 | 3a 0d 20 20 20 20 68 65 | as body|:. he|
|00000860| 6c 70 09 09 20 20 20 20 | 20 20 20 20 20 20 20 20 |lp.. | |
|00000870| 20 20 20 20 53 65 6e 64 | 73 20 79 6f 75 20 61 20 | Send|s you a |
|00000880| 73 75 6d 6d 61 72 79 20 | 6f 66 20 63 6f 6d 6d 61 |summary |of comma|
|00000890| 6e 64 73 0d 20 20 20 20 | 73 75 62 73 63 72 69 62 |nds. |subscrib|
|000008a0| 65 20 63 73 6d 70 2d 64 | 69 67 65 73 74 20 59 6f |e csmp-d|igest Yo|
|000008b0| 75 72 20 4e 61 6d 65 09 | 41 64 64 73 20 79 6f 75 |ur Name.|Adds you|
|000008c0| 20 74 6f 20 74 68 65 20 | 6d 61 69 6c 69 6e 67 20 | to the |mailing |
|000008d0| 6c 69 73 74 0d 20 20 20 | 20 73 69 67 6e 6f 66 66 |list. | signoff|
|000008e0| 20 63 73 6d 70 2d 64 69 | 67 65 73 74 09 09 09 52 | csmp-di|gest...R|
|000008f0| 65 6d 6f 76 65 73 20 79 | 6f 75 20 66 72 6f 6d 20 |emoves y|ou from |
|00000900| 74 68 65 20 6c 69 73 74 | 0d 4f 6e 63 65 20 79 6f |the list|.Once yo|
|00000910| 75 20 68 61 76 65 20 73 | 75 62 73 63 72 69 62 65 |u have s|ubscribe|
|00000920| 64 2c 20 79 6f 75 20 77 | 69 6c 6c 20 61 75 74 6f |d, you w|ill auto|
|00000930| 6d 61 74 69 63 61 6c 6c | 79 20 72 65 63 65 69 76 |maticall|y receiv|
|00000940| 65 20 65 61 63 68 20 6e | 65 77 0d 69 73 73 75 65 |e each n|ew.issue|
|00000950| 20 61 73 20 69 74 20 69 | 73 20 63 72 65 61 74 65 | as it i|s create|
|00000960| 64 2e 0d 0d 54 68 65 20 | 6f 66 66 69 63 69 61 6c |d...The |official|
|00000970| 20 66 74 70 20 69 6e 66 | 6f 20 69 73 20 2f 2f 66 | ftp inf|o is //f|
|00000980| 74 70 2e 64 61 72 74 6d | 6f 75 74 68 2e 65 64 75 |tp.dartm|outh.edu|
|00000990| 2f 70 75 62 2f 63 73 6d | 70 2d 64 69 67 65 73 74 |/pub/csm|p-digest|
|000009a0| 2e 0d 51 75 65 73 74 69 | 6f 6e 73 20 72 65 6c 61 |..Questi|ons rela|
|000009b0| 74 65 64 20 74 6f 20 74 | 68 65 20 66 74 70 20 73 |ted to t|he ftp s|
|000009c0| 69 74 65 20 73 68 6f 75 | 6c 64 20 62 65 20 64 69 |ite shou|ld be di|
|000009d0| 72 65 63 74 65 64 20 74 | 6f 0d 73 63 6f 74 74 2e |rected t|o.scott.|
|000009e0| 73 69 6c 76 65 72 40 64 | 61 72 74 6d 6f 75 74 68 |silver@d|artmouth|
|000009f0| 2e 65 64 75 2e 20 43 75 | 72 72 65 6e 74 6c 79 20 |.edu. Cu|rrently |
|00000a00| 6e 6f 20 70 72 65 76 69 | 6f 75 73 20 76 6f 6c 75 |no previ|ous volu|
|00000a10| 6d 65 73 20 6f 66 20 74 | 68 65 20 43 53 4d 50 0d |mes of t|he CSMP.|
|00000a20| 64 69 67 65 73 74 20 61 | 72 65 20 61 76 61 69 6c |digest a|re avail|
|00000a30| 61 62 6c 65 20 74 68 65 | 72 65 2e 0d 0d 41 6c 73 |able the|re...Als|
|00000a40| 6f 2c 20 74 68 65 20 64 | 69 67 65 73 74 73 20 61 |o, the d|igests a|
|00000a50| 72 65 20 61 76 61 69 6c | 61 62 6c 65 20 74 6f 20 |re avail|able to |
|00000a60| 57 41 49 53 20 75 73 65 | 72 73 2e 20 20 54 6f 20 |WAIS use|rs. To |
|00000a70| 73 65 61 72 63 68 20 62 | 61 63 6b 20 69 73 73 75 |search b|ack issu|
|00000a80| 65 73 0d 77 69 74 68 20 | 57 41 49 53 2c 20 75 73 |es.with |WAIS, us|
|00000a90| 65 20 63 6f 6d 70 2e 73 | 79 73 2e 6d 61 63 2e 70 |e comp.s|ys.mac.p|
|00000aa0| 72 6f 67 72 61 6d 6d 65 | 72 2e 73 72 63 2e 20 57 |rogramme|r.src. W|
|00000ab0| 69 74 68 20 4d 6f 73 61 | 69 63 2c 20 75 73 65 0d |ith Mosa|ic, use.|
|00000ac0| 68 74 74 70 3a 2f 2f 77 | 77 77 2e 77 61 69 73 2e |http://w|ww.wais.|
|00000ad0| 63 6f 6d 2f 77 61 69 73 | 2d 64 62 73 2f 63 6f 6d |com/wais|-dbs/com|
|00000ae0| 70 2e 73 79 73 2e 6d 61 | 63 2e 70 72 6f 67 72 61 |p.sys.ma|c.progra|
|00000af0| 6d 6d 65 72 2e 68 74 6d | 6c 2e 0d 0d 0d 2d 2d 2d |mmer.htm|l....---|
|00000b00| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000b10| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000b20| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000b30| 2d 2d 2d 2d 0d 0d 3e 46 | 72 6f 6d 20 43 68 72 69 |----..>F|rom Chri|
|00000b40| 73 20 52 75 73 73 6f 20 | 3c 63 68 72 69 73 40 73 |s Russo |<chris@s|
|00000b50| 6f 6e 69 63 73 79 73 2e | 63 6f 6d 3e 0d 53 75 62 |onicsys.|com>.Sub|
|00000b60| 6a 65 63 74 3a 20 41 20 | 74 6f 6f 6c 20 49 20 63 |ject: A |tool I c|
|00000b70| 6f 75 6c 64 20 52 45 41 | 4c 4c 59 20 75 73 65 2c |ould REA|LLY use,|
|00000b80| 20 77 72 69 74 74 65 6e | 20 69 74 3f 0d 44 61 74 | written| it?.Dat|
|00000b90| 65 3a 20 32 34 20 41 75 | 67 20 31 39 39 34 20 31 |e: 24 Au|g 1994 1|
|00000ba0| 36 3a 35 37 3a 35 36 20 | 47 4d 54 0d 4f 72 67 61 |6:57:56 |GMT.Orga|
|00000bb0| 6e 69 7a 61 74 69 6f 6e | 3a 20 53 6f 6e 69 63 20 |nization|: Sonic |
|00000bc0| 53 79 73 74 65 6d 73 2c | 20 49 6e 63 2e 0d 0d 57 |Systems,| Inc...W|
|00000bd0| 68 69 6c 65 20 74 72 61 | 63 6b 69 6e 67 20 64 6f |hile tra|cking do|
|00000be0| 77 6e 20 61 20 6e 61 73 | 74 79 20 6d 65 6d 6f 72 |wn a nas|ty memor|
|00000bf0| 79 20 6c 65 61 6b 20 79 | 65 73 74 65 72 64 61 79 |y leak y|esterday|
|00000c00| 2c 20 49 20 74 68 6f 75 | 67 68 74 20 6f 66 20 73 |, I thou|ght of s|
|00000c10| 6f 6d 65 74 68 69 6e 67 | 20 74 68 61 74 0d 77 6f |omething| that.wo|
|00000c20| 75 6c 64 20 68 61 76 65 | 20 62 65 65 6e 20 52 45 |uld have| been RE|
|00000c30| 41 4c 4c 59 20 68 65 6c | 70 66 75 6c 2e 20 20 57 |ALLY hel|pful. W|
|00000c40| 68 61 74 20 69 66 20 49 | 20 70 61 74 63 68 65 64 |hat if I| patched|
|00000c50| 20 4e 65 77 48 61 6e 64 | 6c 65 28 29 20 73 6f 20 | NewHand|le() so |
|00000c60| 74 68 61 74 0d 77 68 65 | 6e 65 76 65 72 20 69 74 |that.whe|never it|
|00000c70| 20 77 61 73 20 63 61 6c | 6c 65 64 20 69 74 20 77 | was cal|led it w|
|00000c80| 6f 75 6c 64 20 74 72 61 | 69 70 73 65 20 6f 76 65 |ould tra|ipse ove|
|00000c90| 72 20 74 6f 20 74 68 65 | 20 65 6e 64 20 6f 66 20 |r to the| end of |
|00000ca0| 6d 79 20 72 6f 75 74 69 | 6e 65 20 61 6e 64 20 67 |my routi|ne and g|
|00000cb0| 72 61 62 0d 74 68 65 20 | 44 65 62 75 67 67 65 72 |rab.the |Debugger|
|00000cc0| 20 69 6e 66 6f 2c 20 74 | 68 65 6e 20 74 61 63 6b | info, t|hen tack|
|00000cd0| 65 64 20 69 74 20 6f 6e | 74 6f 20 74 68 65 20 72 |ed it on|to the r|
|00000ce0| 65 61 72 20 6f 66 20 74 | 68 65 20 68 61 6e 64 6c |ear of t|he handl|
|00000cf0| 65 3f 0d 0d 54 68 61 74 | 20 77 61 79 2c 20 49 20 |e?..That| way, I |
|00000d00| 63 6f 75 6c 64 20 6c 6f | 6f 6b 20 61 74 20 61 6c |could lo|ok at al|
|00000d10| 6c 20 6f 66 20 74 68 6f | 73 65 20 6c 6f 6f 73 65 |l of tho|se loose|
|00000d20| 20 6d 65 6d 6f 72 79 20 | 66 72 61 67 6d 65 6e 74 | memory |fragment|
|00000d30| 73 20 66 72 6f 6d 20 5a | 6f 6e 65 52 61 6e 67 65 |s from Z|oneRange|
|00000d40| 72 0d 61 6e 64 20 64 65 | 74 65 72 6d 69 6e 65 20 |r.and de|termine |
|00000d50| 69 6e 73 74 61 6e 74 6c | 79 20 66 72 6f 6d 20 77 |instantl|y from w|
|00000d60| 68 65 72 65 20 74 68 65 | 79 20 68 61 64 20 62 65 |here the|y had be|
|00000d70| 65 6e 20 61 6c 6c 6f 63 | 61 74 65 64 2e 0d 0d 49 |en alloc|ated...I|
|00000d80| 20 73 74 61 72 74 65 64 | 20 77 6f 72 6b 69 6e 67 | started| working|
|00000d90| 20 6f 6e 20 74 68 65 20 | 74 68 69 6e 67 20 79 65 | on the |thing ye|
|00000da0| 73 74 65 72 64 61 79 2c | 20 61 6e 64 20 73 70 65 |sterday,| and spe|
|00000db0| 6e 74 20 61 20 63 6f 75 | 70 6c 65 20 6f 66 20 68 |nt a cou|ple of h|
|00000dc0| 6f 75 72 73 20 6f 6e 20 | 69 74 2e 0d 49 20 77 72 |ours on |it..I wr|
|00000dd0| 6f 74 65 20 70 61 74 63 | 68 65 73 20 66 6f 72 20 |ote patc|hes for |
|00000de0| 4e 65 77 48 61 6e 64 6c | 65 28 29 2c 20 47 65 74 |NewHandl|e(), Get|
|00000df0| 48 61 6e 64 6c 65 53 69 | 7a 65 28 29 2c 20 61 6e |HandleSi|ze(), an|
|00000e00| 64 20 53 65 74 48 61 6e | 64 6c 65 53 69 7a 65 28 |d SetHan|dleSize(|
|00000e10| 29 2e 20 20 54 68 6f 73 | 65 0d 6c 61 73 74 20 74 |). Thos|e.last t|
|00000e20| 77 6f 20 77 6f 75 6c 64 | 20 6e 61 74 75 72 61 6c |wo would| natural|
|00000e30| 6c 79 20 68 61 76 65 20 | 74 6f 20 62 65 20 70 61 |ly have |to be pa|
|00000e40| 74 63 68 65 64 20 74 6f | 20 6d 61 6b 65 20 74 68 |tched to| make th|
|00000e50| 65 20 64 65 62 75 67 67 | 69 6e 67 20 69 6e 66 6f |e debugg|ing info|
|00000e60| 0d 74 72 61 6e 73 70 61 | 72 65 6e 74 20 74 6f 20 |.transpa|rent to |
|00000e70| 74 68 65 20 63 61 6c 6c | 69 6e 67 20 61 70 70 6c |the call|ing appl|
|00000e80| 69 63 61 74 69 6f 6e 2e | 0d 0d 55 6e 66 6f 72 74 |ication.|..Unfort|
|00000e90| 75 6e 61 74 65 6c 79 2c | 20 74 68 65 20 72 6f 75 |unately,| the rou|
|00000ea0| 74 69 6e 65 73 20 61 72 | 65 6e 27 74 20 71 75 69 |tines ar|en't qui|
|00000eb0| 74 65 20 77 6f 72 6b 69 | 6e 67 20 61 6e 64 20 74 |te worki|ng and t|
|00000ec0| 65 6e 64 20 74 6f 20 63 | 72 61 73 68 2e 20 20 4d |end to c|rash. M|
|00000ed0| 6f 72 65 0d 75 6e 66 6f | 72 74 75 6e 61 74 65 6c |ore.unfo|rtunatel|
|00000ee0| 79 2c 20 49 20 64 6f 6e | 27 74 20 68 61 76 65 20 |y, I don|'t have |
|00000ef0| 74 68 65 20 74 69 6d 65 | 20 74 6f 20 6b 65 65 70 |the time| to keep|
|00000f00| 20 77 6f 72 6b 69 6e 67 | 20 6f 6e 20 74 68 65 6d | working| on them|
|00000f10| 2e 20 3a 2d 28 0d 0d 49 | 66 20 61 6e 79 6f 6e 65 |. :-(..I|f anyone|
|00000f20| 27 73 20 61 6c 72 65 61 | 64 79 20 77 72 69 74 74 |'s alrea|dy writt|
|00000f30| 65 6e 20 73 75 63 68 20 | 61 20 70 61 74 63 68 2c |en such |a patch,|
|00000f40| 20 3c 77 68 6f 6f 70 73 | 3e 20 70 6c 65 61 73 65 | <whoops|> please|
|00000f50| 20 6c 65 74 20 6d 65 20 | 6b 6e 6f 77 20 68 6f 77 | let me |know how|
|00000f60| 20 69 74 0d 77 65 6e 74 | 20 61 6e 64 20 69 66 20 | it.went| and if |
|00000f70| 49 20 63 6f 75 6c 64 20 | 68 61 76 65 20 69 74 2e |I could |have it.|
|00000f80| 0d 0d 49 66 20 61 6e 79 | 6f 6e 65 20 77 6f 75 6c |..If any|one woul|
|00000f90| 64 20 6c 69 6b 65 20 74 | 6f 20 74 61 6b 65 20 74 |d like t|o take t|
|00000fa0| 68 69 73 20 69 64 65 61 | 20 61 6e 64 20 72 75 6e |his idea| and run|
|00000fb0| 20 77 69 74 68 20 69 74 | 2c 20 62 79 20 61 6c 6c | with it|, by all|
|00000fc0| 20 6d 65 61 6e 73 20 64 | 6f 20 73 6f 2e 20 0d 59 | means d|o so. .Y|
|00000fd0| 6f 75 20 63 61 6e 20 65 | 76 65 6e 20 68 61 76 65 |ou can e|ven have|
|00000fe0| 20 74 68 65 20 73 6f 75 | 72 63 65 20 74 68 61 74 | the sou|rce that|
|00000ff0| 20 49 20 73 74 61 72 74 | 65 64 2e 20 20 54 68 65 | I start|ed. The|
|00001000| 72 65 20 6d 69 67 68 74 | 20 62 65 20 73 6f 6d 65 |re might| be some|
|00001010| 20 69 73 73 75 65 73 0d | 69 6e 76 6f 6c 76 69 6e | issues.|involvin|
|00001020| 67 20 74 68 65 20 61 70 | 70 6c 69 63 61 74 69 6f |g the ap|plicatio|
|00001030| 6e 27 73 20 74 72 61 70 | 20 64 69 73 70 61 74 63 |n's trap| dispatc|
|00001040| 68 20 74 61 62 6c 65 20 | 74 68 61 74 20 49 27 6d |h table |that I'm|
|00001050| 20 6e 6f 74 20 64 65 61 | 6c 69 6e 67 20 77 69 74 | not dea|ling wit|
|00001060| 68 0d 70 72 6f 70 65 72 | 6c 79 2e 20 20 49 27 76 |h.proper|ly. I'v|
|00001070| 65 20 6e 65 76 65 72 20 | 72 65 61 6c 6c 79 20 74 |e never |really t|
|00001080| 61 6b 65 6e 20 74 68 65 | 20 74 69 6d 65 20 74 6f |aken the| time to|
|00001090| 20 6c 65 61 72 6e 20 74 | 68 61 74 20 6d 75 63 68 | learn t|hat much|
|000010a0| 20 61 62 6f 75 74 20 69 | 74 2c 20 62 75 74 0d 77 | about i|t, but.w|
|000010b0| 6f 75 6c 64 20 62 65 20 | 68 61 70 70 79 20 74 6f |ould be |happy to|
|000010c0| 20 6c 65 61 72 6e 20 77 | 68 65 72 65 20 49 20 77 | learn w|here I w|
|000010d0| 65 6e 74 20 61 77 72 79 | 2e 0d 0d 62 74 77 2c 20 |ent awry|...btw, |
|000010e0| 49 20 68 61 76 65 20 73 | 65 65 6e 20 74 68 65 20 |I have s|een the |
|000010f0| 6c 65 61 6b 73 20 64 63 | 6d 64 20 61 6e 64 20 64 |leaks dc|md and d|
|00001100| 6f 6e 27 74 20 72 65 61 | 6c 6c 79 20 6c 69 6b 65 |on't rea|lly like|
|00001110| 20 74 6f 20 75 73 65 20 | 69 74 20 6d 75 63 68 2e | to use |it much.|
|00001120| 20 20 46 72 6f 6d 0d 5a | 6f 6e 65 52 61 6e 67 65 | From.Z|oneRange|
|00001130| 72 2c 20 49 20 63 61 6e | 20 75 73 75 61 6c 6c 79 |r, I can| usually|
|00001140| 20 74 65 6c 6c 20 77 68 | 69 63 68 20 6d 65 6d 6f | tell wh|ich memo|
|00001150| 72 79 20 62 6c 6f 63 6b | 73 20 61 72 65 20 75 73 |ry block|s are us|
|00001160| 65 6c 65 73 73 2c 20 62 | 75 74 20 69 74 27 73 20 |eless, b|ut it's |
|00001170| 68 61 72 64 0d 74 6f 20 | 63 6f 72 72 65 6c 61 74 |hard.to |correlat|
|00001180| 65 20 74 68 6f 73 65 20 | 74 6f 20 74 68 65 20 6f |e those |to the o|
|00001190| 6e 65 73 20 63 61 70 74 | 75 72 65 64 20 69 6e 20 |nes capt|ured in |
|000011a0| 6c 65 61 6b 73 2e 20 20 | 4f 6e 20 74 6f 70 20 6f |leaks. |On top o|
|000011b0| 66 20 74 68 61 74 2c 20 | 6c 65 61 6b 73 0d 63 72 |f that, |leaks.cr|
|000011c0| 61 73 68 65 73 20 6d 79 | 20 76 65 72 73 69 6f 6e |ashes my| version|
|000011d0| 20 6f 66 20 54 4d 4f 4e | 2e 0d 0d 4f 6e 63 65 20 | of TMON|...Once |
|000011e0| 61 67 61 69 6e 2c 20 69 | 66 20 61 6e 79 6f 6e 65 |again, i|f anyone|
|000011f0| 20 77 61 6e 74 73 20 74 | 6f 20 63 6f 6e 74 69 6e | wants t|o contin|
|00001200| 75 65 20 6d 79 20 65 66 | 66 6f 72 74 2c 20 6c 65 |ue my ef|fort, le|
|00001210| 74 20 6d 65 20 6b 6e 6f | 77 2e 0d 0d 2d 20 2d 2d |t me kno|w...- --|
|00001220| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001230| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001240| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001250| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001260| 2d 2d 2d 2d 2d 2d 0d 43 | 68 72 69 73 20 52 75 73 |------.C|hris Rus|
|00001270| 73 6f 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |so | |
|00001280| 20 20 20 20 20 20 20 20 | 4d 61 63 69 6e 74 6f 73 | |Macintos|
|00001290| 68 20 50 72 6f 67 72 61 | 6d 6d 65 72 0d 53 6f 6e |h Progra|mmer.Son|
|000012a0| 69 63 20 53 79 73 74 65 | 6d 73 2c 20 49 6e 63 2e |ic Syste|ms, Inc.|
|000012b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 28 34 | | (4|
|000012c0| 30 38 29 20 37 33 36 2d | 31 39 30 30 20 23 31 30 |08) 736-|1900 #10|
|000012d0| 37 0d 63 68 72 69 73 40 | 73 6f 6e 69 63 73 79 73 |7.chris@|sonicsys|
|000012e0| 2e 63 6f 6d 20 20 20 20 | 20 20 20 20 20 20 20 20 |.com | |
|000012f0| 20 20 20 4e 45 56 45 52 | 20 72 65 73 70 6f 6e 64 | NEVER| respond|
|00001300| 20 74 6f 20 66 6c 61 6d | 65 20 62 61 69 74 21 0d | to flam|e bait!.|
|00001310| 0d 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |.+++++++|++++++++|
|00001320| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 0d 0d 3e 46 |++++++++|++++..>F|
|00001330| 72 6f 6d 20 6f 6e 79 78 | 74 65 63 68 40 61 6f 6c |rom onyx|tech@aol|
|00001340| 2e 63 6f 6d 20 28 4f 6e | 79 78 54 65 63 68 29 0d |.com (On|yxTech).|
|00001350| 44 61 74 65 3a 20 32 36 | 20 41 75 67 20 31 39 39 |Date: 26| Aug 199|
|00001360| 34 20 31 37 3a 34 33 3a | 30 33 20 2d 30 34 30 30 |4 17:43:|03 -0400|
|00001370| 0d 4f 72 67 61 6e 69 7a | 61 74 69 6f 6e 3a 20 41 |.Organiz|ation: A|
|00001380| 6d 65 72 69 63 61 20 4f | 6e 6c 69 6e 65 2c 20 49 |merica O|nline, I|
|00001390| 6e 63 2e 20 28 31 2d 38 | 30 30 2d 38 32 37 2d 36 |nc. (1-8|00-827-6|
|000013a0| 33 36 34 29 0d 0d 49 6e | 20 61 72 74 69 63 6c 65 |364)..In| article|
|000013b0| 20 3c 33 33 66 75 36 6b | 24 66 35 73 40 6e 65 77 | <33fu6k|$f5s@new|
|000013c0| 73 2e 69 6e 74 65 72 6e | 65 78 2e 6e 65 74 3e 2c |s.intern|ex.net>,|
|000013d0| 20 43 68 72 69 73 20 52 | 75 73 73 6f 0d 3c 63 68 | Chris R|usso.<ch|
|000013e0| 72 69 73 40 73 6f 6e 69 | 63 73 79 73 2e 63 6f 6d |ris@soni|csys.com|
|000013f0| 3e 20 77 72 69 74 65 73 | 3a 0d 0d 3e 57 68 69 6c |> writes|:..>Whil|
|00001400| 65 20 74 72 61 63 6b 69 | 6e 67 20 64 6f 77 6e 20 |e tracki|ng down |
|00001410| 61 20 6e 61 73 74 79 20 | 6d 65 6d 6f 72 79 20 6c |a nasty |memory l|
|00001420| 65 61 6b 20 79 65 73 74 | 65 72 64 61 79 2c 20 49 |eak yest|erday, I|
|00001430| 20 74 68 6f 75 67 68 74 | 20 6f 66 0d 3e 73 6f 6d | thought| of.>som|
|00001440| 65 74 68 69 6e 67 20 74 | 68 61 74 20 77 6f 75 6c |ething t|hat woul|
|00001450| 64 20 68 61 76 65 20 62 | 65 65 6e 20 52 45 41 4c |d have b|een REAL|
|00001460| 4c 59 20 68 65 6c 70 66 | 75 6c 2e 20 20 57 68 61 |LY helpf|ul. Wha|
|00001470| 74 20 69 66 20 49 20 70 | 61 74 63 68 65 64 0d 3e |t if I p|atched.>|
|00001480| 4e 65 77 48 61 6e 64 6c | 65 28 29 20 73 6f 20 74 |NewHandl|e() so t|
|00001490| 68 61 74 20 77 68 65 6e | 65 76 65 72 20 69 74 20 |hat when|ever it |
|000014a0| 77 61 73 20 63 61 6c 6c | 65 64 20 69 74 20 77 6f |was call|ed it wo|
|000014b0| 75 6c 64 20 74 72 61 69 | 70 73 65 20 6f 76 65 72 |uld trai|pse over|
|000014c0| 20 74 6f 0d 3e 74 68 65 | 20 65 6e 64 20 6f 66 20 | to.>the| end of |
|000014d0| 6d 79 20 72 6f 75 74 69 | 6e 65 20 61 6e 64 20 67 |my routi|ne and g|
|000014e0| 72 61 62 20 74 68 65 20 | 44 65 62 75 67 67 65 72 |rab the |Debugger|
|000014f0| 20 69 6e 66 6f 2c 20 74 | 68 65 6e 20 74 61 63 6b | info, t|hen tack|
|00001500| 65 64 20 69 74 20 6f 6e | 74 6f 0d 3e 74 68 65 20 |ed it on|to.>the |
|00001510| 72 65 61 72 20 6f 66 20 | 74 68 65 20 68 61 6e 64 |rear of |the hand|
|00001520| 6c 65 3f 0d 3e 54 68 61 | 74 20 77 61 79 2c 20 49 |le?.>Tha|t way, I|
|00001530| 20 63 6f 75 6c 64 20 6c | 6f 6f 6b 20 61 74 20 61 | could l|ook at a|
|00001540| 6c 6c 20 6f 66 20 74 68 | 6f 73 65 20 6c 6f 6f 73 |ll of th|ose loos|
|00001550| 65 20 6d 65 6d 6f 72 79 | 20 66 72 61 67 6d 65 6e |e memory| fragmen|
|00001560| 74 73 20 66 72 6f 6d 0d | 3e 5a 6f 6e 65 52 61 6e |ts from.|>ZoneRan|
|00001570| 67 65 72 20 61 6e 64 20 | 64 65 74 65 72 6d 69 6e |ger and |determin|
|00001580| 65 20 69 6e 73 74 61 6e | 74 6c 79 20 66 72 6f 6d |e instan|tly from|
|00001590| 20 77 68 65 72 65 20 74 | 68 65 79 20 68 61 64 20 | where t|hey had |
|000015a0| 62 65 65 6e 20 61 6c 6c | 6f 63 61 74 65 64 2e 0d |been all|ocated..|
|000015b0| 0d 4d 6d 6d 6d 2e 20 20 | 54 68 65 72 65 20 69 73 |.Mmmm. |There is|
|000015c0| 20 61 20 76 65 72 73 69 | 6f 6e 20 6f 66 20 51 43 | a versi|on of QC|
|000015d0| 28 74 6d 29 20 74 68 61 | 74 20 68 61 73 20 73 69 |(tm) tha|t has si|
|000015e0| 6d 69 6c 61 72 20 6c 65 | 61 6b 73 20 64 65 74 65 |milar le|aks dete|
|000015f0| 63 74 69 6f 6e 20 28 79 | 6f 75 0d 63 61 6e 20 75 |ction (y|ou.can u|
|00001600| 73 65 20 73 79 6d 20 66 | 69 6c 65 73 20 61 73 20 |se sym f|iles as |
|00001610| 77 65 6c 6c 29 20 74 68 | 61 74 20 77 69 6c 6c 20 |well) th|at will |
|00001620| 66 6f 6c 6c 6f 77 20 61 | 20 6e 61 74 69 76 65 20 |follow a| native |
|00001630| 50 6f 77 65 72 50 43 20 | 75 70 67 72 61 64 65 20 |PowerPC |upgrade |
|00001640| 61 68 65 61 64 0d 6f 66 | 20 69 74 20 69 6e 20 74 |ahead.of| it in t|
|00001650| 68 65 20 70 69 70 65 6c | 69 6e 65 2e 20 20 57 65 |he pipel|ine. We|
|00001660| 20 61 72 65 20 77 6f 72 | 6b 69 6e 67 20 6f 6e 20 | are wor|king on |
|00001670| 67 72 61 70 68 69 63 61 | 6c 20 72 65 70 72 65 73 |graphica|l repres|
|00001680| 65 6e 74 61 74 69 6f 6e | 20 6f 66 20 68 65 61 70 |entation| of heap|
|00001690| 0d 61 6c 6c 6f 63 61 74 | 69 6f 6e 73 20 61 6e 64 |.allocat|ions and|
|000016a0| 20 64 65 6c 65 74 69 6f | 6e 73 20 61 6e 64 20 68 | deletio|ns and h|
|000016b0| 6f 70 65 20 74 6f 20 63 | 72 65 61 74 65 20 73 6f |ope to c|reate so|
|000016c0| 6d 65 20 73 6f 72 74 20 | 6f 66 20 70 75 62 6c 69 |me sort |of publi|
|000016d0| 73 68 65 64 0d 69 6e 74 | 65 72 66 61 63 65 20 73 |shed.int|erface s|
|000016e0| 6f 20 74 6f 6f 6c 73 20 | 6c 69 6b 65 20 5a 6f 6e |o tools |like Zon|
|000016f0| 65 52 61 6e 67 65 72 20 | 63 61 6e 20 75 73 65 20 |eRanger |can use |
|00001700| 6f 75 72 20 64 61 74 61 | 20 74 6f 20 72 65 70 72 |our data| to repr|
|00001710| 65 73 65 6e 74 20 6d 6f | 72 65 0d 69 6e 66 6f 72 |esent mo|re.infor|
|00001720| 6d 61 74 69 6f 6e 20 74 | 6f 20 75 73 65 72 73 2e |mation t|o users.|
|00001730| 20 20 41 66 74 65 72 20 | 61 6c 6c 2c 20 77 68 79 | After |all, why|
|00001740| 20 73 68 6f 75 6c 64 20 | 77 65 20 72 65 2d 63 72 | should |we re-cr|
|00001750| 65 61 74 65 20 5a 6f 6e | 65 52 61 6e 67 65 72 20 |eate Zon|eRanger |
|00001760| 74 79 70 65 0d 75 74 69 | 6c 69 74 69 65 73 20 77 |type.uti|lities w|
|00001770| 68 65 6e 20 74 68 65 79 | 27 76 65 20 61 6c 72 65 |hen they|'ve alre|
|00001780| 61 64 79 20 64 6f 6e 65 | 20 61 6c 6c 20 74 68 65 |ady done| all the|
|00001790| 20 77 6f 72 6b 2e 20 20 | 57 65 20 6a 75 73 74 20 | work. |We just |
|000017a0| 6e 65 65 64 20 74 6f 20 | 68 65 6c 70 0d 74 68 65 |need to |help.the|
|000017b0| 6d 20 67 65 74 20 61 74 | 20 6d 6f 72 65 20 69 6e |m get at| more in|
|000017c0| 66 6f 72 6d 61 74 69 6f | 6e 2e 0d 0d 49 66 20 79 |formatio|n...If y|
|000017d0| 6f 75 27 64 20 6c 69 6b | 65 20 6d 65 20 74 6f 20 |ou'd lik|e me to |
|000017e0| 6b 65 65 70 20 79 6f 75 | 20 28 61 6e 64 20 77 68 |keep you| (and wh|
|000017f0| 6f 6d 65 76 65 72 20 65 | 6c 73 65 20 69 73 20 72 |omever e|lse is r|
|00001800| 65 61 64 69 6e 67 20 74 | 68 69 73 29 20 61 62 72 |eading t|his) abr|
|00001810| 65 61 73 74 0d 6f 66 20 | 74 68 69 73 20 6e 65 77 |east.of |this new|
|00001820| 20 76 65 72 73 69 6f 6e | 20 6f 66 20 51 43 2c 20 | version| of QC, |
|00001830| 64 72 6f 70 20 75 73 20 | 61 20 6c 69 6e 65 20 61 |drop us |a line a|
|00001840| 74 20 27 6f 6e 79 78 74 | 65 63 68 40 61 6f 6c 2e |t 'onyxt|ech@aol.|
|00001850| 63 6f 6d 27 2e 0d 0d 64 | 45 56 6f 4e 20 48 75 62 |com'...d|EVoN Hub|
|00001860| 62 61 72 64 0d 4f 6e 79 | 78 20 54 65 63 68 6e 6f |bard.Ony|x Techno|
|00001870| 6c 6f 67 79 0d 0d 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |logy..++|++++++++|
|00001880| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |++++++++|++++++++|
|00001890| 2b 0d 0d 3e 46 72 6f 6d | 20 68 2b 40 6e 61 64 61 |+..>From| h+@nada|
|000018a0| 2e 6b 74 68 2e 73 65 20 | 28 4a 6f 6e 20 57 7b 74 |.kth.se |(Jon W{t|
|000018b0| 74 65 29 0d 44 61 74 65 | 3a 20 53 61 74 2c 20 32 |te).Date|: Sat, 2|
|000018c0| 37 20 41 75 67 20 31 39 | 39 34 20 31 35 3a 35 32 |7 Aug 19|94 15:52|
|000018d0| 3a 31 37 20 2b 30 32 30 | 30 0d 4f 72 67 61 6e 69 |:17 +020|0.Organi|
|000018e0| 7a 61 74 69 6f 6e 3a 20 | 52 6f 79 61 6c 20 49 6e |zation: |Royal In|
|000018f0| 73 74 69 74 75 74 65 20 | 6f 66 20 53 6f 6d 65 74 |stitute |of Somet|
|00001900| 68 69 6e 67 20 6f 72 20 | 6f 74 68 65 72 0d 0d 49 |hing or |other..I|
|00001910| 6e 20 61 72 74 69 63 6c | 65 20 3c 33 33 66 75 36 |n articl|e <33fu6|
|00001920| 6b 24 66 35 73 40 6e 65 | 77 73 2e 69 6e 74 65 72 |k$f5s@ne|ws.inter|
|00001930| 6e 65 78 2e 6e 65 74 3e | 2c 0d 43 68 72 69 73 20 |nex.net>|,.Chris |
|00001940| 52 75 73 73 6f 20 3c 63 | 68 72 69 73 40 73 6f 6e |Russo <c|hris@son|
|00001950| 69 63 73 79 73 2e 63 6f | 6d 3e 20 77 72 6f 74 65 |icsys.co|m> wrote|
|00001960| 3a 0d 0d 3e 57 68 69 6c | 65 20 74 72 61 63 6b 69 |:..>Whil|e tracki|
|00001970| 6e 67 20 64 6f 77 6e 20 | 61 20 6e 61 73 74 79 20 |ng down |a nasty |
|00001980| 6d 65 6d 6f 72 79 20 6c | 65 61 6b 20 79 65 73 74 |memory l|eak yest|
|00001990| 65 72 64 61 79 2c 20 49 | 20 74 68 6f 75 67 68 74 |erday, I| thought|
|000019a0| 20 6f 66 20 73 6f 6d 65 | 74 68 69 6e 67 20 74 68 | of some|thing th|
|000019b0| 61 74 0d 3e 77 6f 75 6c | 64 20 68 61 76 65 20 62 |at.>woul|d have b|
|000019c0| 65 65 6e 20 52 45 41 4c | 4c 59 20 68 65 6c 70 66 |een REAL|LY helpf|
|000019d0| 75 6c 2e 20 20 57 68 61 | 74 20 69 66 20 49 20 70 |ul. Wha|t if I p|
|000019e0| 61 74 63 68 65 64 20 4e | 65 77 48 61 6e 64 6c 65 |atched N|ewHandle|
|000019f0| 28 29 20 73 6f 20 74 68 | 61 74 0d 3e 77 68 65 6e |() so th|at.>when|
|00001a00| 65 76 65 72 20 69 74 20 | 77 61 73 20 63 61 6c 6c |ever it |was call|
|00001a10| 65 64 20 69 74 20 77 6f | 75 6c 64 20 74 72 61 69 |ed it wo|uld trai|
|00001a20| 70 73 65 20 6f 76 65 72 | 20 74 6f 20 74 68 65 20 |pse over| to the |
|00001a30| 65 6e 64 20 6f 66 20 6d | 79 20 72 6f 75 74 69 6e |end of m|y routin|
|00001a40| 65 20 61 6e 64 20 67 72 | 61 62 0d 3e 74 68 65 20 |e and gr|ab.>the |
|00001a50| 44 65 62 75 67 67 65 72 | 20 69 6e 66 6f 2c 20 74 |Debugger| info, t|
|00001a60| 68 65 6e 20 74 61 63 6b | 65 64 20 69 74 20 6f 6e |hen tack|ed it on|
|00001a70| 74 6f 20 74 68 65 20 72 | 65 61 72 20 6f 66 20 74 |to the r|ear of t|
|00001a80| 68 65 20 68 61 6e 64 6c | 65 3f 0d 3e 0d 3e 54 68 |he handl|e?.>.>Th|
|00001a90| 61 74 20 77 61 79 2c 20 | 49 20 63 6f 75 6c 64 20 |at way, |I could |
|00001aa0| 6c 6f 6f 6b 20 61 74 20 | 61 6c 6c 20 6f 66 20 74 |look at |all of t|
|00001ab0| 68 6f 73 65 20 6c 6f 6f | 73 65 20 6d 65 6d 6f 72 |hose loo|se memor|
|00001ac0| 79 20 66 72 61 67 6d 65 | 6e 74 73 20 66 72 6f 6d |y fragme|nts from|
|00001ad0| 20 5a 6f 6e 65 52 61 6e | 67 65 72 0d 3e 61 6e 64 | ZoneRan|ger.>and|
|00001ae0| 20 64 65 74 65 72 6d 69 | 6e 65 20 69 6e 73 74 61 | determi|ne insta|
|00001af0| 6e 74 6c 79 20 66 72 6f | 6d 20 77 68 65 72 65 20 |ntly fro|m where |
|00001b00| 74 68 65 79 20 68 61 64 | 20 62 65 65 6e 20 61 6c |they had| been al|
|00001b10| 6c 6f 63 61 74 65 64 2e | 0d 0d 49 74 27 73 20 65 |located.|..It's e|
|00001b20| 61 73 69 65 72 20 74 6f | 20 6a 75 73 74 20 69 6e |asier to| just in|
|00001b30| 73 74 61 6c 6c 20 74 68 | 65 20 22 6c 65 61 6b 73 |stall th|e "leaks|
|00001b40| 22 20 4d 61 63 73 42 75 | 67 20 64 63 6d 64 2e 20 |" MacsBu|g dcmd. |
|00001b50| 49 20 64 6f 6e 27 74 20 | 0d 6b 6e 6f 77 20 77 68 |I don't |.know wh|
|00001b60| 65 74 68 65 72 20 69 74 | 20 77 69 6c 6c 20 73 74 |ether it| will st|
|00001b70| 69 6c 6c 20 77 6f 72 6b | 20 77 69 74 68 20 74 68 |ill work| with th|
|00001b80| 65 20 6e 65 77 20 6d 65 | 6d 72 6f 79 20 6d 61 6e |e new me|mroy man|
|00001b90| 61 67 65 72 20 0d 74 68 | 6f 75 67 68 2e 20 41 6e |ager .th|ough. An|
|00001ba0| 79 6f 6e 65 20 65 6c 73 | 65 20 6b 6e 6f 77 3f 0d |yone els|e know?.|
|00001bb0| 0d 41 6e 6f 74 68 65 72 | 20 74 68 69 6e 67 20 79 |.Another| thing y|
|00001bc0| 6f 75 20 63 61 6e 20 64 | 6f 20 69 73 20 74 6f 20 |ou can d|o is to |
|00001bd0| 72 65 70 6c 61 63 65 20 | 61 6c 6c 20 79 6f 75 72 |replace |all your|
|00001be0| 20 63 61 6c 6c 73 20 74 | 6f 20 0d 4e 65 77 48 61 | calls t|o .NewHa|
|00001bf0| 6e 64 6c 65 28 29 20 65 | 74 63 20 77 69 74 68 20 |ndle() e|tc with |
|00001c00| 4d 79 4e 65 77 48 61 6e | 64 6c 65 28 29 20 61 6e |MyNewHan|dle() an|
|00001c10| 64 20 68 61 76 65 20 6e | 6f 6e 2d 70 61 74 63 68 |d have n|on-patch|
|00001c20| 65 73 20 74 68 61 74 20 | 0d 64 69 64 20 74 68 65 |es that |.did the|
|00001c30| 20 74 72 61 63 6b 69 6e | 67 20 77 6f 72 6b 3b 20 | trackin|g work; |
|00001c40| 79 6f 75 20 63 6f 75 6c | 64 20 65 76 65 6e 20 64 |you coul|d even d|
|00001c50| 65 66 69 6e 65 20 4d 79 | 4e 65 77 48 61 6e 64 6c |efine My|NewHandl|
|00001c60| 65 20 74 6f 20 0d 70 61 | 73 73 20 73 6f 75 72 63 |e to .pa|ss sourc|
|00001c70| 65 20 66 69 6c 65 20 61 | 6e 64 20 6c 69 6e 65 20 |e file a|nd line |
|00001c80| 6e 75 6d 62 65 72 20 69 | 6e 66 6f 72 6d 61 74 69 |number i|nformati|
|00001c90| 6f 6e 20 75 73 69 6e 67 | 20 5f 5f 46 49 4c 45 5f |on using| __FILE_|
|00001ca0| 5f 20 61 6e 64 20 0d 5f | 5f 4c 49 4e 45 5f 5f 2e |_ and ._|_LINE__.|
|00001cb0| 20 54 68 65 6e 20 77 68 | 65 6e 20 79 6f 75 20 63 | Then wh|en you c|
|00001cc0| 6f 6d 70 69 6c 65 20 74 | 68 65 20 72 65 6c 65 61 |ompile t|he relea|
|00001cd0| 73 65 20 76 65 72 73 69 | 6f 6e 2c 20 79 6f 75 20 |se versi|on, you |
|00001ce0| 6a 75 73 74 20 0d 64 65 | 66 69 6e 65 20 4d 79 4e |just .de|fine MyN|
|00001cf0| 65 77 48 61 6e 64 6c 65 | 28 29 20 74 6f 20 4e 65 |ewHandle|() to Ne|
|00001d00| 77 48 61 6e 64 6c 65 28 | 29 2e 0d 0d 54 68 69 73 |wHandle(|)...This|
|00001d10| 20 69 73 20 67 72 65 61 | 74 20 66 6f 72 20 76 61 | is grea|t for va|
|00001d20| 6c 69 64 61 74 69 6e 67 | 20 6d 65 6d 6f 72 79 20 |lidating| memory |
|00001d30| 61 73 20 77 65 6c 6c 3b | 20 79 6f 75 20 63 61 6e |as well;| you can|
|00001d40| 20 68 61 76 65 20 61 20 | 0d 76 61 6c 69 64 61 74 | have a |.validat|
|00001d50| 69 6f 6e 20 72 6f 75 74 | 69 6e 65 20 74 68 61 74 |ion rout|ine that|
|00001d60| 20 74 72 61 76 65 72 73 | 65 73 20 61 6c 6c 20 6f | travers|es all o|
|00001d70| 66 20 79 6f 75 72 20 64 | 79 6e 61 6d 69 63 61 6c |f your d|ynamical|
|00001d80| 6c 79 20 0d 61 6c 6c 6f | 63 61 74 65 64 20 6d 65 |ly .allo|cated me|
|00001d90| 6d 6f 72 79 20 61 6e 64 | 20 63 68 65 63 6b 73 20 |mory and| checks |
|00001da0| 69 74 20 61 67 61 69 6e | 73 74 20 61 20 6c 69 73 |it again|st a lis|
|00001db0| 74 20 79 6f 75 20 6b 65 | 65 70 3b 20 69 66 20 0d |t you ke|ep; if .|
|00001dc0| 73 6f 6d 65 74 68 69 6e | 67 27 73 20 6e 6f 74 20 |somethin|g's not |
|00001dd0| 63 68 65 63 6b 65 64 20 | 6f 6e 20 74 68 65 20 6c |checked |on the l|
|00001de0| 69 73 74 2c 20 79 6f 75 | 20 68 61 76 65 20 61 20 |ist, you| have a |
|00001df0| 6c 65 61 6b 2e 20 49 66 | 20 61 20 0d 70 6f 69 6e |leak. If| a .poin|
|00001e00| 74 65 72 2f 68 61 6e 64 | 6c 65 20 69 73 20 6e 6f |ter/hand|le is no|
|00001e10| 74 20 6f 6e 20 74 68 65 | 20 6c 69 73 74 2c 20 79 |t on the| list, y|
|00001e20| 6f 75 20 68 61 76 65 20 | 61 20 64 61 6e 67 6c 69 |ou have |a dangli|
|00001e30| 6e 67 20 0d 70 6f 69 6e | 74 65 72 2f 68 61 6e 64 |ng .poin|ter/hand|
|00001e40| 6c 65 2e 0d 0d 43 68 65 | 65 72 73 2c 0d 0d 09 09 |le...Che|ers,....|
|00001e50| 09 09 2f 20 68 2b 0d 0d | 0d 2d 2d 0d 20 20 4a 6f |../ h+..|.--. Jo|
|00001e60| 6e 20 57 e4 74 74 65 20 | 28 68 2b 40 6e 61 64 61 |n W.tte |(h+@nada|
|00001e70| 2e 6b 74 68 2e 73 65 29 | 2c 20 48 61 67 61 67 61 |.kth.se)|, Hagaga|
|00001e80| 74 61 6e 20 31 2c 20 31 | 31 33 20 34 38 20 53 74 |tan 1, 1|13 48 St|
|00001e90| 6f 63 6b 68 6f 6c 6d 2c | 20 53 77 65 64 65 6e 0d |ockholm,| Sweden.|
|00001ea0| 20 20 20 20 4e 6f 74 20 | 73 70 65 61 6b 69 6e 67 | Not |speaking|
|00001eb0| 20 66 6f 72 20 49 42 4d | 2e 0d 0d 0d 2d 2d 2d 2d | for IBM|....----|
|00001ec0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001ed0| 2d 2d 2d 2d 2d 2d 2d 0d | 0d 3e 46 72 6f 6d 20 63 |-------.|.>From c|
|00001ee0| 68 72 69 73 2d 62 40 63 | 73 2e 61 75 63 6b 6c 61 |hris-b@c|s.auckla|
|00001ef0| 6e 64 2e 61 63 2e 6e 7a | 20 28 43 68 72 69 73 20 |nd.ac.nz| (Chris |
|00001f00| 42 75 72 6e 73 29 0d 53 | 75 62 6a 65 63 74 3a 20 |Burns).S|ubject: |
|00001f10| 41 73 79 6e 63 20 46 69 | 6c 65 4d 67 72 20 43 61 |Async Fi|leMgr Ca|
|00001f20| 6c 6c 73 0d 44 61 74 65 | 3a 20 53 61 74 2c 20 32 |lls.Date|: Sat, 2|
|00001f30| 30 20 41 75 67 20 31 39 | 39 34 20 30 30 3a 35 38 |0 Aug 19|94 00:58|
|00001f40| 3a 30 32 20 2b 31 32 30 | 30 0d 4f 72 67 61 6e 69 |:02 +120|0.Organi|
|00001f50| 7a 61 74 69 6f 6e 3a 20 | 41 75 63 6b 6c 61 6e 64 |zation: |Auckland|
|00001f60| 55 6e 69 76 65 72 73 69 | 74 79 3a 43 6f 6d 70 75 |Universi|ty:Compu|
|00001f70| 74 65 72 53 63 69 65 6e | 63 65 3a 48 4d 55 0d 0d |terScien|ce:HMU..|
|00001f80| 48 69 20 41 6c 6c 2c 0d | 0d 49 27 76 65 20 62 65 |Hi All,.|.I've be|
|00001f90| 65 6e 20 6c 6f 6f 6b 69 | 6e 67 20 69 6e 74 6f 20 |en looki|ng into |
|00001fa0| 75 73 69 6e 67 20 61 73 | 79 6e 63 20 66 69 6c 65 |using as|ync file|
|00001fb0| 20 6d 61 6e 61 67 65 72 | 20 63 61 6c 6c 73 2c 20 | manager| calls, |
|00001fc0| 73 6f 20 49 20 73 74 61 | 72 74 65 64 0d 65 78 70 |so I sta|rted.exp|
|00001fd0| 65 72 69 6d 65 6e 74 69 | 6e 67 20 77 69 74 68 20 |erimenti|ng with |
|00001fe0| 61 6e 20 65 61 73 79 20 | 6f 6e 65 2c 20 61 6e 20 |an easy |one, an |
|00001ff0| 69 6e 64 65 78 65 64 20 | 5f 50 42 48 47 65 74 56 |indexed |_PBHGetV|
|00002000| 49 6e 66 6f 41 73 79 6e | 63 20 63 61 6c 6c 20 75 |InfoAsyn|c call u|
|00002010| 6e 74 69 6c 0d 74 68 65 | 20 65 72 72 6f 72 20 72 |ntil.the| error r|
|00002020| 65 74 75 72 6e 65 64 20 | 69 73 20 6e 73 76 45 72 |eturned |is nsvEr|
|00002030| 72 20 28 6e 6f 2d 73 75 | 63 68 2d 76 6f 6c 75 6d |r (no-su|ch-volum|
|00002040| 65 3a 20 2d 33 35 29 2e | 20 54 68 69 73 20 77 6f |e: -35).| This wo|
|00002050| 72 6b 73 20 70 65 72 66 | 65 63 74 6c 79 0d 75 73 |rks perf|ectly.us|
|00002060| 69 6e 67 20 73 79 6e 63 | 20 63 61 6c 6c 73 2e 20 |ing sync| calls. |
|00002070| 54 68 69 6e 67 73 20 61 | 72 65 6e 27 74 20 73 6f |Things a|ren't so|
|00002080| 20 72 6f 73 79 20 6f 6e | 20 74 68 65 20 61 73 79 | rosy on| the asy|
|00002090| 6e 63 20 66 72 6f 6e 74 | 20 74 68 6f 27 2e 0d 0d |nc front| tho'...|
|000020a0| 42 65 69 6e 67 20 69 6e | 20 61 20 50 6f 77 65 72 |Being in| a Power|
|000020b0| 50 43 20 66 72 69 65 6e | 64 6c 79 20 6b 69 6e 64 |PC frien|dly kind|
|000020c0| 20 6f 66 20 6d 6f 6f 64 | 20 28 61 6e 64 20 72 75 | of mood| (and ru|
|000020d0| 6e 6e 69 6e 67 20 6f 6e | 20 61 20 50 4d 38 31 30 |nning on| a PM810|
|000020e0| 30 2f 38 30 29 2c 20 49 | 0d 74 68 6f 75 67 68 74 |0/80), I|.thought|
|000020f0| 20 22 63 6f 6f 6c 2c 20 | 49 27 6c 6c 20 75 73 65 | "cool, |I'll use|
|00002100| 20 55 50 50 73 20 66 6f | 72 20 6d 79 20 63 6f 6d | UPPs fo|r my com|
|00002110| 70 6c 65 74 69 6f 6e 20 | 72 6f 75 74 69 6e 65 20 |pletion |routine |
|00002120| 73 70 65 63 69 66 69 65 | 72 73 2c 20 61 6e 64 0d |specifie|rs, and.|
|00002130| 63 6f 6d 70 69 6c 65 20 | 61 20 66 61 74 20 61 70 |compile |a fat ap|
|00002140| 70 22 2e 20 54 68 69 73 | 20 61 73 70 65 63 74 20 |p". This| aspect |
|00002150| 69 73 20 66 69 6e 65 2c | 20 61 6e 64 20 69 6e 20 |is fine,| and in |
|00002160| 66 61 63 74 2c 20 74 68 | 65 20 50 6f 77 65 72 50 |fact, th|e PowerP|
|00002170| 43 20 6e 61 74 69 76 65 | 0d 76 65 72 73 69 6f 6e |C native|.version|
|00002180| 20 28 4d 57 20 43 2f 43 | 2b 2b 20 50 50 43 20 31 | (MW C/C|++ PPC 1|
|00002190| 2e 30 31 20 44 52 2f 33 | 2e 35 29 20 69 73 20 74 |.01 DR/3|.5) is t|
|000021a0| 68 65 20 6f 6e 65 20 74 | 68 61 74 20 77 6f 72 6b |he one t|hat work|
|000021b0| 73 20 63 6f 72 72 65 63 | 74 6c 79 2e 20 54 68 65 |s correc|tly. The|
|000021c0| 0d 36 38 4b 20 76 65 72 | 73 69 6f 6e 20 68 6f 77 |.68K ver|sion how|
|000021d0| 65 76 65 72 2c 20 64 6f | 65 73 20 6e 6f 74 20 77 |ever, do|es not w|
|000021e0| 6f 72 6b 2e 20 54 68 65 | 20 5f 50 42 48 47 65 74 |ork. The| _PBHGet|
|000021f0| 56 49 6e 66 6f 41 73 79 | 6e 63 20 63 61 6c 6c 20 |VInfoAsy|nc call |
|00002200| 72 65 74 75 72 6e 73 20 | 61 6c 6c 0d 6b 69 6e 64 |returns |all.kind|
|00002210| 73 20 6f 66 20 62 6f 67 | 75 73 20 76 61 6c 75 65 |s of bog|us value|
|00002220| 73 20 69 6e 73 74 65 61 | 64 20 6f 66 20 6e 69 63 |s instea|d of nic|
|00002230| 65 20 66 69 6c 65 20 6d | 61 6e 61 67 65 72 20 65 |e file m|anager e|
|00002240| 72 72 6f 72 73 2e 0d 0d | 48 65 72 65 27 73 20 74 |rrors...|Here's t|
|00002250| 68 65 20 65 6e 74 69 72 | 65 20 63 6f 64 65 3a 0d |he entir|e code:.|
|00002260| 0d 0d 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |..//////|////////|
|00002270| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|00002280| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 0d 2f |////////|//////./|
|00002290| 2f 20 43 68 72 69 73 20 | 42 75 72 6e 73 20 20 a9 |/ Chris |Burns .|
|000022a0| 41 75 67 75 73 74 20 31 | 39 39 34 0d 2f 2f 2f 2f |August 1|994.////|
|000022b0| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|000022c0| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|000022d0| 2f 2f 2f 2f 2f 2f 2f 2f | 0d 0d 23 69 6e 63 6c 75 |////////|..#inclu|
|000022e0| 64 65 20 3c 46 69 6c 65 | 73 2e 68 3e 0d 0d 2f 2f |de <File|s.h>..//|
|000022f0| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|00002300| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|00002310| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 0d 0d 74 79 70 65 |////////|//..type|
|00002320| 64 65 66 20 73 74 72 75 | 63 74 0d 7b 0d 20 20 20 |def stru|ct.{. |
|00002330| 20 48 56 6f 6c 75 6d 65 | 50 61 72 61 6d 20 20 20 | HVolume|Param |
|00002340| 20 50 42 3b 0d 20 20 20 | 20 53 74 72 32 35 35 20 | PB;. | Str255 |
|00002350| 20 20 20 20 20 20 20 20 | 20 56 6f 6c 4e 61 6d 65 | | VolName|
|00002360| 3b 0d 20 20 20 20 6c 6f | 6e 67 20 20 20 20 20 20 |;. lo|ng |
|00002370| 20 20 20 20 20 20 41 70 | 70 41 35 3b 0d 7d 0d 56 | Ap|pA5;.}.V|
|00002380| 6f 6c 50 42 52 65 63 2c | 2a 56 6f 6c 50 42 50 74 |olPBRec,|*VolPBPt|
|00002390| 72 3b 0d 0d 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |r;..////|////////|
|000023a0| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|000023b0| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|000023c0| 0d 0d 73 68 6f 72 74 20 | 20 20 20 20 20 20 20 20 |..short | |
|000023d0| 20 20 67 4e 75 6d 44 72 | 69 76 65 73 3b 0d 76 6f | gNumDr|ives;.vo|
|000023e0| 6c 61 74 69 6c 65 20 73 | 68 6f 72 74 20 20 67 4e |latile s|hort gN|
|000023f0| 75 6d 44 72 69 76 65 73 | 44 6f 6e 65 3b 0d 0d 2f |umDrives|Done;../|
|00002400| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|00002410| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|00002420| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 0d 0d 49 4f 43 |////////|///..IOC|
|00002430| 6f 6d 70 6c 65 74 69 6f | 6e 55 50 50 20 20 20 20 |ompletio|nUPP |
|00002440| 20 67 43 6f 6d 70 6c 65 | 74 69 6f 6e 50 72 6f 63 | gComple|tionProc|
|00002450| 55 50 50 3b 0d 0d 23 69 | 66 20 55 53 45 53 36 38 |UPP;..#i|f USES68|
|00002460| 4b 49 4e 4c 49 4e 45 53 | 0d 23 70 72 61 67 6d 61 |KINLINES|.#pragma|
|00002470| 20 70 61 72 61 6d 65 74 | 65 72 20 43 6f 6d 70 6c | paramet|er Compl|
|00002480| 65 74 69 6f 6e 50 72 6f | 63 28 5f 5f 41 30 29 0d |etionPro|c(__A0).|
|00002490| 23 65 6e 64 69 66 0d 0d | 70 61 73 63 61 6c 20 76 |#endif..|pascal v|
|000024a0| 6f 69 64 20 43 6f 6d 70 | 6c 65 74 69 6f 6e 50 72 |oid Comp|letionPr|
|000024b0| 6f 63 28 48 50 61 72 6d | 42 6c 6b 50 74 72 20 48 |oc(HParm|BlkPtr H|
|000024c0| 50 42 29 0d 7b 0d 6c 6f | 6e 67 20 53 61 76 65 64 |PB).{.lo|ng Saved|
|000024d0| 41 35 20 3d 20 53 65 74 | 41 35 28 28 28 56 6f 6c |A5 = Set|A5(((Vol|
|000024e0| 50 42 50 74 72 29 48 50 | 42 29 2d 3e 41 70 70 41 |PBPtr)HP|B)->AppA|
|000024f0| 35 29 3b 0d 0d 20 20 20 | 20 67 4e 75 6d 44 72 69 |5);.. | gNumDri|
|00002500| 76 65 73 44 6f 6e 65 2b | 2b 3b 0d 20 20 20 20 44 |vesDone+|+;. D|
|00002510| 65 62 75 67 53 74 72 28 | 28 28 56 6f 6c 50 42 50 |ebugStr(|((VolPBP|
|00002520| 74 72 29 48 50 42 29 2d | 3e 56 6f 6c 4e 61 6d 65 |tr)HPB)-|>VolName|
|00002530| 29 3b 0d 0d 20 20 20 20 | 53 65 74 41 35 28 53 61 |);.. |SetA5(Sa|
|00002540| 76 65 64 41 35 29 3b 0d | 7d 0d 0d 2f 2f 2f 2f 2f |vedA5);.|}../////|
|00002550| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|00002560| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|00002570| 2f 2f 2f 2f 2f 2f 2f 0d | 0d 76 6f 69 64 20 6d 61 |///////.|.void ma|
|00002580| 69 6e 28 76 6f 69 64 29 | 0d 7b 0d 4f 53 45 72 72 |in(void)|.{.OSErr|
|00002590| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 45 | | E|
|000025a0| 72 72 3b 0d 56 6f 6c 50 | 42 50 74 72 20 20 20 20 |rr;.VolP|BPtr |
|000025b0| 20 20 20 20 20 20 20 20 | 56 50 42 3b 0d 0d 20 20 | |VPB;.. |
|000025c0| 20 20 67 4e 75 6d 44 72 | 69 76 65 73 20 3d 20 30 | gNumDr|ives = 0|
|000025d0| 3b 0d 20 20 20 20 67 4e | 75 6d 44 72 69 76 65 73 |;. gN|umDrives|
|000025e0| 44 6f 6e 65 20 3d 20 30 | 3b 0d 20 20 20 20 67 43 |Done = 0|;. gC|
|000025f0| 6f 6d 70 6c 65 74 69 6f | 6e 50 72 6f 63 55 50 50 |ompletio|nProcUPP|
|00002600| 20 3d 20 4e 65 77 49 4f | 43 6f 6d 70 6c 65 74 69 | = NewIO|Completi|
|00002610| 6f 6e 50 72 6f 63 28 43 | 6f 6d 70 6c 65 74 69 6f |onProc(C|ompletio|
|00002620| 6e 50 72 6f 63 29 3b 0d | 0d 20 20 20 20 45 72 72 |nProc);.|. Err|
|00002630| 20 3d 20 6e 6f 45 72 72 | 3b 0d 0d 20 20 20 20 77 | = noErr|;.. w|
|00002640| 68 69 6c 65 20 28 45 72 | 72 20 21 3d 20 6e 73 76 |hile (Er|r != nsv|
|00002650| 45 72 72 29 0d 20 20 20 | 20 7b 0d 20 20 20 20 20 |Err). | {. |
|00002660| 20 20 20 67 4e 75 6d 44 | 72 69 76 65 73 2b 2b 3b | gNumD|rives++;|
|00002670| 0d 20 20 20 20 0d 20 20 | 20 20 20 20 20 20 56 50 |. . | VP|
|00002680| 42 20 3d 20 28 56 6f 6c | 50 42 50 74 72 29 4e 65 |B = (Vol|PBPtr)Ne|
|00002690| 77 50 74 72 43 6c 65 61 | 72 28 73 69 7a 65 6f 66 |wPtrClea|r(sizeof|
|000026a0| 28 56 6f 6c 50 42 52 65 | 63 29 29 3b 0d 20 20 20 |(VolPBRe|c));. |
|000026b0| 20 20 20 20 20 69 66 20 | 28 28 56 50 42 20 3d 3d | if |((VPB ==|
|000026c0| 20 6e 69 6c 29 20 7c 7c | 20 28 4d 65 6d 45 72 72 | nil) ||| (MemErr|
|000026d0| 6f 72 28 29 20 21 3d 20 | 6e 6f 45 72 72 29 29 0d |or() != |noErr)).|
|000026e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 44 65 62 75 | | Debu|
|000026f0| 67 53 74 72 28 22 5c 70 | 4d 61 69 6e 3a 20 5f 4e |gStr("\p|Main: _N|
|00002700| 65 77 50 74 72 43 6c 65 | 61 72 28 56 50 42 29 20 |ewPtrCle|ar(VPB) |
|00002710| 46 41 49 4c 45 44 22 29 | 3b 0d 20 20 20 20 20 20 |FAILED")|;. |
|00002720| 20 20 0d 20 20 20 20 20 | 20 20 20 56 50 42 2d 3e | . | VPB->|
|00002730| 50 42 2e 69 6f 43 6f 6d | 70 6c 65 74 69 6f 6e 20 |PB.ioCom|pletion |
|00002740| 3d 20 67 43 6f 6d 70 6c | 65 74 69 6f 6e 50 72 6f |= gCompl|etionPro|
|00002750| 63 55 50 50 3b 0d 20 20 | 20 20 20 20 20 20 56 50 |cUPP;. | VP|
|00002760| 42 2d 3e 50 42 2e 69 6f | 56 6f 6c 49 6e 64 65 78 |B->PB.io|VolIndex|
|00002770| 20 3d 20 67 4e 75 6d 44 | 72 69 76 65 73 3b 0d 20 | = gNumD|rives;. |
|00002780| 20 20 20 20 20 20 20 56 | 50 42 2d 3e 50 42 2e 69 | V|PB->PB.i|
|00002790| 6f 4e 61 6d 65 50 74 72 | 20 3d 20 56 50 42 2d 3e |oNamePtr| = VPB->|
|000027a0| 56 6f 6c 4e 61 6d 65 3b | 0d 20 20 20 20 20 20 20 |VolName;|. |
|000027b0| 20 56 50 42 2d 3e 50 42 | 2e 69 6f 56 52 65 66 4e | VPB->PB|.ioVRefN|
|000027c0| 75 6d 20 3d 20 30 3b 0d | 20 20 20 20 20 20 20 20 |um = 0;.| |
|000027d0| 56 50 42 2d 3e 41 70 70 | 41 35 20 3d 20 53 65 74 |VPB->App|A5 = Set|
|000027e0| 43 75 72 72 65 6e 74 41 | 35 28 29 3b 0d 0d 20 20 |CurrentA|5();.. |
|000027f0| 20 20 20 20 20 20 45 72 | 72 20 3d 20 50 42 48 47 | Er|r = PBHG|
|00002800| 65 74 56 49 6e 66 6f 41 | 73 79 6e 63 28 28 48 50 |etVInfoA|sync((HP|
|00002810| 61 72 6d 42 6c 6b 50 74 | 72 29 56 50 42 29 3b 0d |armBlkPt|r)VPB);.|
|00002820| 0d 20 20 20 20 20 20 20 | 20 73 77 69 74 63 68 20 |. | switch |
|00002830| 28 45 72 72 29 0d 20 20 | 20 20 20 20 20 20 7b 0d |(Err). | {.|
|00002840| 20 20 20 20 20 20 20 20 | 20 20 20 20 63 61 73 65 | | case|
|00002850| 20 6e 6f 45 72 72 3a 0d | 20 20 20 20 20 20 20 20 | noErr:.| |
|00002860| 20 20 20 20 20 20 20 20 | 62 72 65 61 6b 3b 0d 0d | |break;..|
|00002870| 20 20 20 20 20 20 20 20 | 20 20 20 20 63 61 73 65 | | case|
|00002880| 20 6e 73 76 45 72 72 3a | 0d 20 20 20 20 20 20 20 | nsvErr:|. |
|00002890| 20 20 20 20 20 20 20 20 | 20 63 6f 6e 74 69 6e 75 | | continu|
|000028a0| 65 3b 0d 0d 20 20 20 20 | 20 20 20 20 20 20 20 20 |e;.. | |
|000028b0| 64 65 66 61 75 6c 74 3a | 0d 20 20 20 20 20 20 20 |default:|. |
|000028c0| 20 20 20 20 20 20 20 20 | 20 44 65 62 75 67 53 74 | | DebugSt|
|000028d0| 72 28 22 5c 70 5f 50 42 | 48 47 65 74 56 49 6e 66 |r("\p_PB|HGetVInf|
|000028e0| 6f 41 73 79 6e 63 20 46 | 41 49 4c 45 44 22 29 3b |oAsync F|AILED");|
|000028f0| 0d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00002900| 20 62 72 65 61 6b 3b 0d | 20 20 20 20 20 20 20 20 | break;.| |
|00002910| 7d 0d 20 20 20 20 7d 0d | 0d 20 20 20 20 77 68 69 |}. }.|. whi|
|00002920| 6c 65 20 28 67 4e 75 6d | 44 72 69 76 65 73 44 6f |le (gNum|DrivesDo|
|00002930| 6e 65 20 21 3d 20 67 4e | 75 6d 44 72 69 76 65 73 |ne != gN|umDrives|
|00002940| 29 3b 0d 0d 20 20 20 20 | 44 69 73 70 6f 73 65 52 |);.. |DisposeR|
|00002950| 6f 75 74 69 6e 65 44 65 | 73 63 72 69 70 74 6f 72 |outineDe|scriptor|
|00002960| 28 67 43 6f 6d 70 6c 65 | 74 69 6f 6e 50 72 6f 63 |(gComple|tionProc|
|00002970| 55 50 50 29 3b 0d 7d 0d | 0d 2f 2f 2f 2f 2f 2f 2f |UPP);.}.|.///////|
|00002980| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|00002990| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|000029a0| 2f 2f 2f 2f 2f 0d 0d 54 | 68 65 3a 0d 0d 23 69 66 |/////..T|he:..#if|
|000029b0| 20 55 53 45 53 36 38 4b | 49 4e 4c 49 4e 45 53 0d | USES68K|INLINES.|
|000029c0| 23 70 72 61 67 6d 61 20 | 70 61 72 61 6d 65 74 65 |#pragma |paramete|
|000029d0| 72 20 43 6f 6d 70 6c 65 | 74 69 6f 6e 50 72 6f 63 |r Comple|tionProc|
|000029e0| 28 5f 5f 41 30 29 0d 23 | 65 6e 64 69 66 0d 0d 62 |(__A0).#|endif..b|
|000029f0| 69 74 20 77 61 73 20 6e | 65 63 65 73 73 61 72 79 |it was n|ecessary|
|00002a00| 20 66 6f 72 20 74 68 65 | 20 36 38 4b 20 76 65 72 | for the| 68K ver|
|00002a10| 73 69 6f 6e 20 74 6f 20 | 72 65 61 6c 69 7a 65 20 |sion to |realize |
|00002a20| 74 68 65 20 70 61 72 61 | 6d 20 62 6c 6f 63 6b 20 |the para|m block |
|00002a30| 70 74 72 20 77 61 73 0d | 69 6e 20 41 30 20 72 61 |ptr was.|in A0 ra|
|00002a40| 74 68 65 72 20 74 68 61 | 6e 20 6f 6e 20 74 68 65 |ther tha|n on the|
|00002a50| 20 73 74 61 63 6b 2e 20 | 49 20 6a 75 73 74 20 67 | stack. |I just g|
|00002a60| 72 61 62 62 65 64 20 69 | 74 20 66 72 6f 6d 20 6f |rabbed i|t from o|
|00002a70| 6e 65 20 6f 66 20 74 68 | 65 0d 55 6e 69 76 65 72 |ne of th|e.Univer|
|00002a80| 73 61 6c 20 48 65 61 64 | 65 72 73 20 62 65 63 61 |sal Head|ers beca|
|00002a90| 75 73 65 20 69 74 20 6c | 6f 6f 6b 65 64 20 72 69 |use it l|ooked ri|
|00002aa0| 67 68 74 2e 20 49 74 20 | 73 65 65 6d 73 20 74 6f |ght. It |seems to|
|00002ab0| 20 77 6f 72 6b 2c 20 61 | 6e 64 20 74 68 65 20 61 | work, a|nd the a|
|00002ac0| 73 6d 0d 6c 6f 6f 6b 73 | 20 72 69 67 68 74 2e 0d |sm.looks| right..|
|00002ad0| 0d 54 68 65 20 70 72 6f | 62 6c 65 6d 20 73 65 65 |.The pro|blem see|
|00002ae0| 6d 73 20 74 6f 20 62 65 | 20 69 6e 20 6d 79 20 43 |ms to be| in my C|
|00002af0| 6f 6d 70 6c 65 74 69 6f | 6e 50 72 6f 63 2e 20 57 |ompletio|nProc. W|
|00002b00| 68 61 74 65 76 65 72 20 | 76 61 6c 75 65 20 44 30 |hatever |value D0|
|00002b10| 2e 77 20 69 73 20 75 70 | 6f 6e 0d 65 78 69 74 2c |.w is up|on.exit,|
|00002b20| 20 63 6f 6d 65 73 20 6f | 75 74 20 61 73 20 74 68 | comes o|ut as th|
|00002b30| 65 20 6f 72 69 67 69 6e | 61 6c 20 45 72 72 20 3d |e origin|al Err =|
|00002b40| 20 50 42 48 47 65 74 56 | 49 6e 66 6f 41 73 79 6e | PBHGetV|InfoAsyn|
|00002b50| 63 28 29 3b 20 54 68 69 | 73 20 73 68 6f 75 6c 64 |c(); Thi|s should|
|00002b60| 6e 27 74 0d 62 65 20 73 | 6f 20 62 65 63 61 75 73 |n't.be s|o becaus|
|00002b70| 65 20 74 68 61 74 20 65 | 72 72 6f 72 20 73 69 6d |e that e|rror sim|
|00002b80| 70 6c 79 20 74 65 6c 6c | 73 20 6d 65 20 69 66 20 |ply tell|s me if |
|00002b90| 74 68 65 20 72 65 71 75 | 65 73 74 20 77 61 73 20 |the requ|est was |
|00002ba0| 71 75 65 75 65 64 20 6f | 6b 2e 20 46 6f 72 0d 66 |queued o|k. For.f|
|00002bb0| 69 6c 65 20 6d 61 6e 61 | 67 65 72 20 63 6f 6d 70 |ile mana|ger comp|
|00002bc0| 6c 65 74 69 6f 6e 20 72 | 6f 75 74 69 6e 65 73 20 |letion r|outines |
|00002bd0| 54 48 49 4e 4b 20 52 65 | 66 20 32 2e 30 20 73 61 |THINK Re|f 2.0 sa|
|00002be0| 79 73 20 22 53 61 76 65 | 20 61 6e 64 20 72 65 73 |ys "Save| and res|
|00002bf0| 74 6f 72 65 20 61 6c 6c | 0d 43 50 55 20 72 65 67 |tore all|.CPU reg|
|00002c00| 69 73 74 65 72 73 20 65 | 78 63 65 70 74 20 41 30 |isters e|xcept A0|
|00002c10| 2c 41 31 2c 20 61 6e 64 | 20 44 30 2d 44 32 22 2e |,A1, and| D0-D2".|
|00002c20| 20 4d 79 20 63 6f 64 65 | 20 73 65 65 6d 73 20 74 | My code| seems t|
|00002c30| 6f 20 64 6f 20 74 68 69 | 73 20 79 65 74 0d 64 6f |o do thi|s yet.do|
|00002c40| 65 73 6e 27 74 20 72 75 | 6e 20 63 6f 72 72 65 63 |esn't ru|n correc|
|00002c50| 74 6c 79 2e 0d 0d 48 65 | 72 65 27 73 20 74 68 65 |tly...He|re's the|
|00002c60| 20 36 38 4b 20 61 73 6d | 3a 0d 0d 48 75 6e 6b 3a | 68K asm|:..Hunk:|
|00002c70| 20 20 20 4b 69 6e 64 3d | 48 55 4e 4b 5f 47 4c 4f | Kind=|HUNK_GLO|
|00002c80| 42 41 4c 5f 43 4f 44 45 | 20 20 4e 61 6d 65 3d 22 |BAL_CODE| Name="|
|00002c90| 43 4f 4d 50 4c 45 54 49 | 4f 4e 50 52 4f 43 22 28 |COMPLETI|ONPROC"(|
|00002ca0| 34 29 20 20 53 69 7a 65 | 3d 36 34 0d 30 30 30 30 |4) Size|=64.0000|
|00002cb0| 30 30 30 30 3a 20 34 45 | 35 36 20 46 46 46 38 20 |0000: 4E|56 FFF8 |
|00002cc0| 20 20 20 20 20 20 20 20 | 20 4c 49 4e 4b 20 20 20 | | LINK |
|00002cd0| 20 20 20 41 36 2c 23 24 | 46 46 46 38 0d 30 30 30 | A6,#$|FFF8.000|
|00002ce0| 30 30 30 30 34 3a 20 32 | 44 34 38 20 46 46 46 38 |00004: 2|D48 FFF8|
|00002cf0| 20 20 20 20 20 20 20 20 | 20 20 4d 4f 56 45 2e 4c | | MOVE.L|
|00002d00| 20 20 20 20 41 30 2c 24 | 46 46 46 38 28 41 36 29 | A0,$|FFF8(A6)|
|00002d10| 0d 30 30 30 30 30 30 30 | 38 3a 20 32 30 36 45 20 |.0000000|8: 206E |
|00002d20| 46 46 46 38 20 20 20 20 | 20 20 20 20 20 20 4d 4f |FFF8 | MO|
|00002d30| 56 45 41 2e 4c 20 20 20 | 24 46 46 46 38 28 41 36 |VEA.L |$FFF8(A6|
|00002d40| 29 2c 41 30 0d 30 30 30 | 30 30 30 30 43 3a 20 32 |),A0.000|0000C: 2|
|00002d50| 30 32 38 20 30 31 37 41 | 20 20 20 20 20 20 20 20 |028 017A| |
|00002d60| 20 20 4d 4f 56 45 2e 4c | 20 20 20 20 24 30 31 37 | MOVE.L| $017|
|00002d70| 41 28 41 30 29 2c 44 30 | 0d 30 30 30 30 30 30 31 |A(A0),D0|.0000001|
|00002d80| 30 3a 20 43 31 38 44 20 | 20 20 20 20 20 20 20 20 |0: C18D | |
|00002d90| 20 20 20 20 20 20 45 58 | 47 20 20 20 20 20 20 20 | EX|G |
|00002da0| 44 30 2c 41 35 0d 30 30 | 30 30 30 30 31 32 3a 20 |D0,A5.00|000012: |
|00002db0| 32 44 34 30 20 46 46 46 | 43 20 20 20 20 20 20 20 |2D40 FFF|C |
|00002dc0| 20 20 20 4d 4f 56 45 2e | 4c 20 20 20 20 44 30 2c | MOVE.|L D0,|
|00002dd0| 24 46 46 46 43 28 41 36 | 29 0d 30 30 30 30 30 30 |$FFFC(A6|).000000|
|00002de0| 31 36 3a 20 35 32 36 44 | 20 30 30 30 30 20 20 20 |16: 526D| 0000 |
|00002df0| 20 20 20 20 20 20 20 41 | 44 44 51 2e 57 20 20 20 | A|DDQ.W |
|00002e00| 20 23 24 31 2c 67 4e 75 | 6d 44 72 69 76 65 73 44 | #$1,gNu|mDrivesD|
|00002e10| 6f 6e 65 0d 30 30 30 30 | 30 30 31 41 3a 20 32 30 |one.0000|001A: 20|
|00002e20| 36 45 20 46 46 46 38 20 | 20 20 20 20 20 20 20 20 |6E FFF8 | |
|00002e30| 20 4d 4f 56 45 41 2e 4c | 20 20 20 24 46 46 46 38 | MOVEA.L| $FFF8|
|00002e40| 28 41 36 29 2c 41 30 0d | 30 30 30 30 30 30 31 45 |(A6),A0.|0000001E|
|00002e50| 3a 20 34 38 36 38 20 30 | 30 37 41 20 20 20 20 20 |: 4868 0|07A |
|00002e60| 20 20 20 20 20 50 45 41 | 20 20 20 20 20 20 20 24 | PEA| $|
|00002e70| 30 30 37 41 28 41 30 29 | 0d 30 30 30 30 30 30 32 |007A(A0)|.0000002|
|00002e80| 32 3a 20 41 42 46 46 20 | 20 20 20 20 20 20 20 20 |2: ABFF | |
|00002e90| 20 20 20 20 20 20 5f 44 | 65 62 75 67 53 74 72 0d | _D|ebugStr.|
|00002ea0| 30 30 30 30 30 30 32 34 | 3a 20 32 30 32 45 20 46 |00000024|: 202E F|
|00002eb0| 46 46 43 20 20 20 20 20 | 20 20 20 20 20 4d 4f 56 |FFC | MOV|
|00002ec0| 45 2e 4c 20 20 20 20 24 | 46 46 46 43 28 41 36 29 |E.L $|FFFC(A6)|
|00002ed0| 2c 44 30 0d 30 30 30 30 | 30 30 32 38 3a 20 43 31 |,D0.0000|0028: C1|
|00002ee0| 38 44 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |8D | |
|00002ef0| 20 45 58 47 20 20 20 20 | 20 20 20 44 30 2c 41 35 | EXG | D0,A5|
|00002f00| 0d 30 30 30 30 30 30 32 | 41 3a 20 34 45 35 45 20 |.0000002|A: 4E5E |
|00002f10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 55 4e | | UN|
|00002f20| 4c 4b 20 20 20 20 20 20 | 41 36 0d 30 30 30 30 30 |LK |A6.00000|
|00002f30| 30 32 43 3a 20 34 45 37 | 35 20 20 20 20 20 20 20 |02C: 4E7|5 |
|00002f40| 20 20 20 20 20 20 20 20 | 52 54 53 0d 30 30 30 30 | |RTS.0000|
|00002f50| 30 30 32 45 3a 20 38 45 | 34 33 20 34 46 34 44 20 |002E: 8E|43 4F4D |
|00002f60| 35 30 34 43 20 20 20 20 | 20 44 43 2e 42 20 20 20 |504C | DC.B |
|00002f70| 20 20 20 24 38 30 2b 24 | 30 45 2c 20 27 43 4f 4d | $80+$|0E, 'COM|
|00002f80| 50 4c 45 54 49 4f 4e 50 | 52 4f 43 27 2c 20 24 30 |PLETIONP|ROC', $0|
|00002f90| 30 0d 20 20 20 20 20 20 | 20 20 20 20 34 35 35 34 |0. | 4554|
|00002fa0| 20 34 39 34 46 20 34 45 | 35 30 20 0d 20 20 20 20 | 494F 4E|50 . |
|00002fb0| 20 20 20 20 20 20 35 32 | 34 46 20 34 33 30 30 20 | 52|4F 4300 |
|00002fc0| 20 20 20 20 20 0d 30 30 | 30 30 30 30 33 45 3a 20 | .00|00003E: |
|00002fd0| 30 30 30 30 20 20 20 20 | 20 20 20 20 20 20 20 0d |0000 | .|
|00002fe0| 0d 41 6e 79 20 68 65 6c | 70 2c 20 66 6c 61 6d 65 |.Any hel|p, flame|
|00002ff0| 73 2c 20 67 75 69 64 61 | 6e 63 65 20 65 74 63 20 |s, guida|nce etc |
|00003000| 67 72 65 61 74 6c 79 20 | 61 70 70 72 65 63 69 61 |greatly |apprecia|
|00003010| 74 65 64 2e 0d 0d 54 68 | 61 6e 6b 73 20 49 6e 20 |ted...Th|anks In |
|00003020| 41 64 76 61 6e 63 65 2c | 0d 0d 43 68 72 69 73 20 |Advance,|..Chris |
|00003030| 42 0d 2d 20 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |B.- ----|--------|
|00003040| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003050| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003060| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003070| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 0d 4e 65 77 5a 65 61 |--------|-.NewZea|
|00003080| 6c 61 6e 64 3a 41 75 63 | 6b 6c 61 6e 64 55 6e 69 |land:Auc|klandUni|
|00003090| 76 65 72 73 69 74 79 3a | 43 6f 6d 70 75 74 65 72 |versity:|Computer|
|000030a0| 53 63 69 65 6e 63 65 3a | 48 79 70 65 72 4d 65 64 |Science:|HyperMed|
|000030b0| 69 61 55 6e 69 74 3a 43 | 68 72 69 73 42 75 72 6e |iaUnit:C|hrisBurn|
|000030c0| 73 0d 49 6e 74 65 72 6e | 65 74 3a 20 63 68 72 69 |s.Intern|et: chri|
|000030d0| 73 2d 62 40 63 73 2e 61 | 75 63 6b 6c 61 6e 64 2e |s-b@cs.a|uckland.|
|000030e0| 61 63 2e 6e 7a 0d 50 68 | 6f 6e 65 3a 20 20 20 20 |ac.nz.Ph|one: |
|000030f0| 2b 36 34 20 39 20 33 37 | 33 2d 37 35 39 39 20 78 |+64 9 37|3-7599 x|
|00003100| 36 31 39 34 0d 46 61 78 | 3a 20 20 20 20 20 20 2b |6194.Fax|: +|
|00003110| 36 34 20 39 20 33 37 33 | 2d 37 34 35 33 20 20 20 |64 9 373|-7453 |
|00003120| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003130| 20 20 20 20 20 20 41 73 | 79 6e 63 2c 20 74 68 65 | As|ync, the|
|00003140| 72 65 66 6f 72 65 20 49 | 20 61 6d 2e 0d 2d 20 2d |refore I| am..- -|
|00003150| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003160| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003170| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003180| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003190| 2d 2d 2d 2d 0d 0d 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |----..++|++++++++|
|000031a0| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |++++++++|++++++++|
|000031b0| 2b 0d 0d 3e 46 72 6f 6d | 20 68 2b 40 6e 61 64 61 |+..>From| h+@nada|
|000031c0| 2e 6b 74 68 2e 73 65 20 | 28 4a 6f 6e 20 57 7b 74 |.kth.se |(Jon W{t|
|000031d0| 74 65 29 0d 44 61 74 65 | 3a 20 46 72 69 2c 20 31 |te).Date|: Fri, 1|
|000031e0| 39 20 41 75 67 20 31 39 | 39 34 20 32 32 3a 32 37 |9 Aug 19|94 22:27|
|000031f0| 3a 31 36 20 2b 30 32 30 | 30 0d 4f 72 67 61 6e 69 |:16 +020|0.Organi|
|00003200| 7a 61 74 69 6f 6e 3a 20 | 52 6f 79 61 6c 20 49 6e |zation: |Royal In|
|00003210| 73 74 69 74 75 74 65 20 | 6f 66 20 53 6f 6d 65 74 |stitute |of Somet|
|00003220| 68 69 6e 67 20 6f 72 20 | 6f 74 68 65 72 0d 0d 49 |hing or |other..I|
|00003230| 6e 20 61 72 74 69 63 6c | 65 20 3c 63 68 72 69 73 |n articl|e <chris|
|00003240| 2d 62 2d 32 30 30 38 39 | 34 30 30 35 38 30 32 30 |-b-20089|40058020|
|00003250| 30 30 31 40 68 6d 75 37 | 2e 63 73 2e 61 75 6b 75 |001@hmu7|.cs.auku|
|00003260| 6e 69 2e 61 63 2e 6e 7a | 3e 2c 0d 63 68 72 69 73 |ni.ac.nz|>,.chris|
|00003270| 2d 62 40 63 73 2e 61 75 | 63 6b 6c 61 6e 64 2e 61 |-b@cs.au|ckland.a|
|00003280| 63 2e 6e 7a 20 28 43 68 | 72 69 73 20 42 75 72 6e |c.nz (Ch|ris Burn|
|00003290| 73 29 20 77 72 6f 74 65 | 3a 0d 0d 3e 76 65 72 73 |s) wrote|:..>vers|
|000032a0| 69 6f 6e 20 28 4d 57 20 | 43 2f 43 2b 2b 20 50 50 |ion (MW |C/C++ PP|
|000032b0| 43 20 31 2e 30 31 20 44 | 52 2f 33 2e 35 29 20 69 |C 1.01 D|R/3.5) i|
|000032c0| 73 20 74 68 65 20 6f 6e | 65 20 74 68 61 74 20 77 |s the on|e that w|
|000032d0| 6f 72 6b 73 20 63 6f 72 | 72 65 63 74 6c 79 2e 20 |orks cor|rectly. |
|000032e0| 54 68 65 0d 3e 36 38 4b | 20 76 65 72 73 69 6f 6e |The.>68K| version|
|000032f0| 20 68 6f 77 65 76 65 72 | 2c 20 64 6f 65 73 20 6e | however|, does n|
|00003300| 6f 74 20 77 6f 72 6b 2e | 20 54 68 65 20 5f 50 42 |ot work.| The _PB|
|00003310| 48 47 65 74 56 49 6e 66 | 6f 41 73 79 6e 63 20 63 |HGetVInf|oAsync c|
|00003320| 61 6c 6c 20 72 65 74 75 | 72 6e 73 20 61 6c 6c 0d |all retu|rns all.|
|00003330| 3e 6b 69 6e 64 73 20 6f | 66 20 62 6f 67 75 73 20 |>kinds o|f bogus |
|00003340| 76 61 6c 75 65 73 20 69 | 6e 73 74 65 61 64 20 6f |values i|nstead o|
|00003350| 66 20 6e 69 63 65 20 66 | 69 6c 65 20 6d 61 6e 61 |f nice f|ile mana|
|00003360| 67 65 72 20 65 72 72 6f | 72 73 2e 0d 0d 54 68 61 |ger erro|rs...Tha|
|00003370| 74 27 73 20 62 65 63 61 | 75 73 65 20 79 6f 75 27 |t's beca|use you'|
|00003380| 72 65 20 74 65 73 74 69 | 6e 67 20 74 68 65 20 72 |re testi|ng the r|
|00003390| 65 74 75 72 6e 20 76 61 | 6c 75 65 20 6f 66 20 61 |eturn va|lue of a|
|000033a0| 6e 20 61 73 79 6e 63 68 | 72 6f 6e 6f 75 73 0d 63 |n asynch|ronous.c|
|000033b0| 61 6c 6c 2e 20 59 6f 75 | 27 72 65 20 6e 6f 74 20 |all. You|'re not |
|000033c0| 73 75 70 70 6f 73 65 64 | 20 74 6f 20 64 6f 20 74 |supposed| to do t|
|000033d0| 68 61 74 2c 20 73 69 6e | 63 65 20 74 68 65 72 65 |hat, sin|ce there|
|000033e0| 27 73 20 6e 6f 20 65 72 | 72 6f 72 20 74 6f 0d 72 |'s no er|ror to.r|
|000033f0| 65 74 75 72 6e 20 74 68 | 65 72 65 20 79 65 74 3b |eturn th|ere yet;|
|00003400| 20 69 6e 73 74 65 61 64 | 20 79 6f 75 27 72 65 20 | instead| you're |
|00003410| 73 75 70 70 6f 73 65 64 | 20 74 6f 20 74 65 73 74 |supposed| to test|
|00003420| 20 69 6f 52 65 73 75 6c | 74 20 69 6e 20 74 68 65 | ioResul|t in the|
|00003430| 0d 63 6f 6d 70 6c 65 74 | 69 6f 6e 20 70 72 6f 63 |.complet|ion proc|
|00003440| 2c 20 6f 72 20 70 6f 6c | 6c 20 69 6f 52 65 73 75 |, or pol|l ioResu|
|00003450| 6c 74 20 75 6e 74 69 6c | 20 69 74 27 73 20 6e 6f |lt until| it's no|
|00003460| 74 20 31 2e 0d 0d 43 68 | 65 65 72 73 2c 0d 0d 09 |t 1...Ch|eers,...|
|00003470| 09 09 09 2f 20 68 2b 0d | 0d 0d 2d 2d 0d 20 20 4a |.../ h+.|..--. J|
|00003480| 6f 6e 20 57 e4 74 74 65 | 20 28 68 2b 40 6e 61 64 |on W.tte| (h+@nad|
|00003490| 61 2e 6b 74 68 2e 73 65 | 29 2c 20 48 61 67 61 67 |a.kth.se|), Hagag|
|000034a0| 61 74 61 6e 20 31 2c 20 | 31 31 33 20 34 38 20 53 |atan 1, |113 48 S|
|000034b0| 74 6f 63 6b 68 6f 6c 6d | 2c 20 53 77 65 64 65 6e |tockholm|, Sweden|
|000034c0| 0d 0d 22 54 65 78 74 45 | 64 69 74 20 64 6f 65 73 |.."TextE|dit does|
|000034d0| 20 65 76 65 72 79 74 68 | 69 6e 67 20 72 69 67 68 | everyth|ing righ|
|000034e0| 74 2e 22 0d 09 8b 20 4a | 6f 6e 20 57 7b 74 74 65 |t."... J|on W{tte|
|000034f0| 0d 0d 0d 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |...+++++|++++++++|
|00003500| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 0d 0d |++++++++|++++++..|
|00003510| 3e 46 72 6f 6d 20 63 68 | 72 69 73 2d 62 40 63 73 |>From ch|ris-b@cs|
|00003520| 2e 61 75 63 6b 6c 61 6e | 64 2e 61 63 2e 6e 7a 20 |.aucklan|d.ac.nz |
|00003530| 28 43 68 72 69 73 20 42 | 75 72 6e 73 29 0d 44 61 |(Chris B|urns).Da|
|00003540| 74 65 3a 20 53 75 6e 2c | 20 32 31 20 41 75 67 20 |te: Sun,| 21 Aug |
|00003550| 31 39 39 34 20 31 38 3a | 31 39 3a 31 32 20 2b 31 |1994 18:|19:12 +1|
|00003560| 32 30 30 0d 4f 72 67 61 | 6e 69 7a 61 74 69 6f 6e |200.Orga|nization|
|00003570| 3a 20 41 75 63 6b 6c 61 | 6e 64 55 6e 69 76 65 72 |: Auckla|ndUniver|
|00003580| 73 69 74 79 3a 43 6f 6d | 70 75 74 65 72 53 63 69 |sity:Com|puterSci|
|00003590| 65 6e 63 65 3a 48 4d 55 | 0d 0d 49 6e 20 61 72 74 |ence:HMU|..In art|
|000035a0| 69 63 6c 65 20 3c 39 36 | 36 38 41 41 37 41 45 32 |icle <96|68AA7AE2|
|000035b0| 34 34 2e 34 34 45 35 45 | 40 6b 6c 6b 6d 61 63 30 |44.44E5E|@klkmac0|
|000035c0| 30 34 2e 6e 61 64 61 2e | 6b 74 68 2e 73 65 3e 2c |04.nada.|kth.se>,|
|000035d0| 20 68 2b 40 6e 61 64 61 | 2e 6b 74 68 2e 73 65 20 | h+@nada|.kth.se |
|000035e0| 28 4a 6f 6e 0d 57 7b 74 | 74 65 29 20 77 72 6f 74 |(Jon.W{t|te) wrot|
|000035f0| 65 3a 0d 0d 3e 20 49 6e | 20 61 72 74 69 63 6c 65 |e:..> In| article|
|00003600| 20 3c 63 68 72 69 73 2d | 62 2d 32 30 30 38 39 34 | <chris-|b-200894|
|00003610| 30 30 35 38 30 32 30 30 | 30 31 40 68 6d 75 37 2e |00580200|01@hmu7.|
|00003620| 63 73 2e 61 75 6b 75 6e | 69 2e 61 63 2e 6e 7a 3e |cs.aukun|i.ac.nz>|
|00003630| 2c 0d 3e 20 63 68 72 69 | 73 2d 62 40 63 73 2e 61 |,.> chri|s-b@cs.a|
|00003640| 75 63 6b 6c 61 6e 64 2e | 61 63 2e 6e 7a 20 28 43 |uckland.|ac.nz (C|
|00003650| 68 72 69 73 20 42 75 72 | 6e 73 29 20 77 72 6f 74 |hris Bur|ns) wrot|
|00003660| 65 3a 0d 3e 20 0d 3e 20 | 3e 76 65 72 73 69 6f 6e |e:.> .> |>version|
|00003670| 20 28 4d 57 20 43 2f 43 | 2b 2b 20 50 50 43 20 31 | (MW C/C|++ PPC 1|
|00003680| 2e 30 31 20 44 52 2f 33 | 2e 35 29 20 69 73 20 74 |.01 DR/3|.5) is t|
|00003690| 68 65 20 6f 6e 65 20 74 | 68 61 74 20 77 6f 72 6b |he one t|hat work|
|000036a0| 73 20 63 6f 72 72 65 63 | 74 6c 79 2e 20 54 68 65 |s correc|tly. The|
|000036b0| 0d 3e 20 3e 36 38 4b 20 | 76 65 72 73 69 6f 6e 20 |.> >68K |version |
|000036c0| 68 6f 77 65 76 65 72 2c | 20 64 6f 65 73 20 6e 6f |however,| does no|
|000036d0| 74 20 77 6f 72 6b 2e 20 | 54 68 65 20 5f 50 42 48 |t work. |The _PBH|
|000036e0| 47 65 74 56 49 6e 66 6f | 41 73 79 6e 63 20 63 61 |GetVInfo|Async ca|
|000036f0| 6c 6c 20 72 65 74 75 72 | 6e 73 20 61 6c 6c 0d 3e |ll retur|ns all.>|
|00003700| 20 3e 6b 69 6e 64 73 20 | 6f 66 20 62 6f 67 75 73 | >kinds |of bogus|
|00003710| 20 76 61 6c 75 65 73 20 | 69 6e 73 74 65 61 64 20 | values |instead |
|00003720| 6f 66 20 6e 69 63 65 20 | 66 69 6c 65 20 6d 61 6e |of nice |file man|
|00003730| 61 67 65 72 20 65 72 72 | 6f 72 73 2e 0d 3e 20 0d |ager err|ors..> .|
|00003740| 3e 20 54 68 61 74 27 73 | 20 62 65 63 61 75 73 65 |> That's| because|
|00003750| 20 79 6f 75 27 72 65 20 | 74 65 73 74 69 6e 67 20 | you're |testing |
|00003760| 74 68 65 20 72 65 74 75 | 72 6e 20 76 61 6c 75 65 |the retu|rn value|
|00003770| 20 6f 66 20 61 6e 20 61 | 73 79 6e 63 68 72 6f 6e | of an a|synchron|
|00003780| 6f 75 73 0d 3e 20 63 61 | 6c 6c 2e 20 59 6f 75 27 |ous.> ca|ll. You'|
|00003790| 72 65 20 6e 6f 74 20 73 | 75 70 70 6f 73 65 64 20 |re not s|upposed |
|000037a0| 74 6f 20 64 6f 20 74 68 | 61 74 2c 20 73 69 6e 63 |to do th|at, sinc|
|000037b0| 65 20 74 68 65 72 65 27 | 73 20 6e 6f 20 65 72 72 |e there'|s no err|
|000037c0| 6f 72 20 74 6f 0d 3e 20 | 72 65 74 75 72 6e 20 74 |or to.> |return t|
|000037d0| 68 65 72 65 20 79 65 74 | 3b 20 69 6e 73 74 65 61 |here yet|; instea|
|000037e0| 64 20 79 6f 75 27 72 65 | 20 73 75 70 70 6f 73 65 |d you're| suppose|
|000037f0| 64 20 74 6f 20 74 65 73 | 74 20 69 6f 52 65 73 75 |d to tes|t ioResu|
|00003800| 6c 74 20 69 6e 20 74 68 | 65 0d 3e 20 63 6f 6d 70 |lt in th|e.> comp|
|00003810| 6c 65 74 69 6f 6e 20 70 | 72 6f 63 2c 20 6f 72 20 |letion p|roc, or |
|00003820| 70 6f 6c 6c 20 69 6f 52 | 65 73 75 6c 74 20 75 6e |poll ioR|esult un|
|00003830| 74 69 6c 20 69 74 27 73 | 20 6e 6f 74 20 31 2e 0d |til it's| not 1..|
|00003840| 0d 53 6f 72 72 79 20 4a | 6f 6e 2c 20 49 20 64 6f |.Sorry J|on, I do|
|00003850| 6e 27 74 20 62 75 79 20 | 69 74 2e 0d 0d 28 49 27 |n't buy |it...(I'|
|00003860| 6d 20 61 73 73 75 6d 69 | 6e 67 20 74 68 61 74 20 |m assumi|ng that |
|00003870| 49 4d 2d 49 56 20 43 68 | 70 74 20 31 39 20 5b 46 |IM-IV Ch|pt 19 [F|
|00003880| 69 6c 65 20 4d 61 6e 61 | 67 65 72 5d 20 69 73 20 |ile Mana|ger] is |
|00003890| 73 74 69 6c 6c 20 76 61 | 6c 69 64 20 62 65 63 61 |still va|lid beca|
|000038a0| 75 73 65 20 69 74 0d 64 | 6f 63 75 6d 65 6e 74 73 |use it.d|ocuments|
|000038b0| 20 74 68 65 20 6c 6f 77 | 2d 6c 65 76 65 6c 20 66 | the low|-level f|
|000038c0| 69 6c 65 20 6d 61 6e 61 | 67 65 72 20 72 6f 75 74 |ile mana|ger rout|
|000038d0| 69 6e 65 73 3b 20 49 20 | 68 61 76 6e 27 74 20 6c |ines; I |havn't l|
|000038e0| 6f 6f 6b 65 64 20 61 74 | 0d 4e 49 4d 3a 46 69 6c |ooked at|.NIM:Fil|
|000038f0| 65 73 29 0d 0d 43 68 65 | 63 6b 20 6f 75 74 20 49 |es)..Che|ck out I|
|00003900| 4d 2d 49 56 20 50 67 20 | 31 31 39 3a 0d 0d 22 52 |M-IV Pg |119:.."R|
|00003910| 6f 75 74 69 6e 65 73 20 | 74 68 61 74 20 61 72 65 |outines |that are|
|00003920| 20 65 78 65 63 75 74 65 | 64 20 61 73 79 6e 63 68 | execute|d asynch|
|00003930| 72 6f 6e 6f 75 73 6c 79 | 20 72 65 74 75 72 6e 20 |ronously| return |
|00003940| 63 6f 6e 74 72 6f 6c 20 | 74 6f 20 74 68 65 20 63 |control |to the c|
|00003950| 61 6c 6c 69 6e 67 0d 70 | 72 6f 67 72 61 6d 20 77 |alling.p|rogram w|
|00003960| 69 74 68 20 74 68 65 20 | 72 65 73 75 6c 74 20 63 |ith the |result c|
|00003970| 6f 64 65 20 6e 6f 45 72 | 72 20 61 73 20 73 6f 6f |ode noEr|r as soo|
|00003980| 6e 20 61 73 20 74 68 65 | 20 63 61 6c 6c 20 69 73 |n as the| call is|
|00003990| 20 70 6c 61 63 65 64 20 | 69 6e 20 74 68 65 0d 66 | placed |in the.f|
|000039a0| 69 6c 65 20 49 2f 4f 20 | 71 75 65 75 65 2e 20 54 |ile I/O |queue. T|
|000039b0| 68 69 73 20 69 73 6e 27 | 74 20 61 6e 20 69 6e 64 |his isn'|t an ind|
|000039c0| 69 63 61 74 69 6f 6e 20 | 6f 66 20 73 75 63 63 65 |ication |of succe|
|000039d0| 73 73 66 75 6c 20 63 61 | 6c 6c 20 63 6f 6d 70 6c |ssful ca|ll compl|
|000039e0| 65 74 69 6f 6e 2c 0d 62 | 75 74 20 73 69 6d 70 6c |etion,.b|ut simpl|
|000039f0| 79 20 69 6e 64 69 63 61 | 74 65 73 20 74 68 61 74 |y indica|tes that|
|00003a00| 20 74 68 65 20 63 61 6c | 6c 20 77 61 73 20 73 75 | the cal|l was su|
|00003a10| 63 63 65 73 73 66 75 6c | 6c 79 20 71 75 65 75 65 |ccessful|ly queue|
|00003a20| 64 2e 22 0d 0d 54 68 69 | 73 20 69 73 20 74 68 65 |d."..Thi|s is the|
|00003a30| 20 63 61 73 65 20 77 69 | 74 68 20 6e 65 61 72 6c | case wi|th nearl|
|00003a40| 79 20 61 6c 6c 20 61 73 | 79 6e 63 20 63 61 6c 6c |y all as|ync call|
|00003a50| 73 2c 20 74 68 65 79 20 | 72 65 74 75 72 6e 20 61 |s, they |return a|
|00003a60| 20 66 69 6c 65 20 6d 61 | 6e 61 67 65 72 0d 65 72 | file ma|nager.er|
|00003a70| 72 6f 72 20 74 6f 20 74 | 68 65 20 63 61 6c 6c 69 |ror to t|he calli|
|00003a80| 6e 67 20 70 72 6f 67 72 | 61 6d 20 28 74 79 70 69 |ng progr|am (typi|
|00003a90| 63 61 6c 6c 79 20 22 6e | 6f 45 72 72 22 2c 20 62 |cally "n|oErr", b|
|00003aa0| 75 74 20 70 6f 73 73 69 | 62 6c 79 20 22 70 61 72 |ut possi|bly "par|
|00003ab0| 61 6d 45 72 72 22 0d 6f | 72 20 6f 74 68 65 72 73 |amErr".o|r others|
|00003ac0| 29 2c 20 61 6e 64 20 74 | 68 65 6e 20 74 68 65 20 |), and t|hen the |
|00003ad0| 72 65 61 6c 20 65 72 72 | 6f 72 20 73 6f 6d 65 77 |real err|or somew|
|00003ae0| 68 65 72 65 20 69 6e 20 | 74 68 65 20 70 61 72 61 |here in |the para|
|00003af0| 6d 20 62 6c 6f 63 6b 20 | 28 6f 66 74 65 6e 0d 61 |m block |(often.a|
|00003b00| 6c 73 6f 20 69 6e 20 44 | 30 29 20 61 74 20 63 6f |lso in D|0) at co|
|00003b10| 6d 70 6c 65 74 69 6f 6e | 20 70 72 6f 63 20 74 69 |mpletion| proc ti|
|00003b20| 6d 65 2e 20 54 68 65 73 | 65 20 74 77 6f 20 65 72 |me. Thes|e two er|
|00003b30| 72 6f 72 73 20 73 68 6f | 75 6c 64 20 6e 6f 74 20 |rors sho|uld not |
|00003b40| 62 65 0d 72 65 6c 61 74 | 65 64 20 69 6e 20 61 6e |be.relat|ed in an|
|00003b50| 79 20 77 61 79 2e 20 54 | 68 65 20 66 61 63 74 20 |y way. T|he fact |
|00003b60| 74 68 61 74 20 44 30 20 | 3d 20 24 73 74 75 76 77 |that D0 |= $stuvw|
|00003b70| 78 79 7a 20 75 70 6f 6e | 20 65 78 69 74 20 6f 66 |xyz upon| exit of|
|00003b80| 20 74 68 65 0d 63 6f 6d | 70 6c 65 74 69 6f 6e 20 | the.com|pletion |
|00003b90| 70 72 6f 63 20 73 68 6f | 75 6c 64 20 6e 6f 74 20 |proc sho|uld not |
|00003ba0| 6d 65 61 6e 20 74 68 61 | 74 20 74 68 65 20 63 61 |mean tha|t the ca|
|00003bb0| 6c 6c 69 6e 67 20 63 6f | 64 65 20 72 65 63 65 69 |lling co|de recei|
|00003bc0| 76 65 73 20 61 6e 20 65 | 72 72 6f 72 20 6f 66 0d |ves an e|rror of.|
|00003bd0| 24 77 78 79 7a 20 28 44 | 30 2e 77 29 2e 0d 0d 49 |$wxyz (D|0.w)...I|
|00003be0| 4d 2d 49 56 20 50 67 20 | 31 31 39 3a 0d 0d 22 57 |M-IV Pg |119:.."W|
|00003bf0| 61 72 6e 69 6e 67 3a 20 | 43 6f 6d 70 6c 65 74 69 |arning: |Completi|
|00003c00| 6f 6e 20 72 6f 75 74 69 | 6e 65 73 20 61 72 65 20 |on routi|nes are |
|00003c10| 65 78 65 63 75 74 65 64 | 20 61 74 20 69 6e 74 65 |executed| at inte|
|00003c20| 72 72 75 70 74 20 6c 65 | 76 65 6c 20 61 6e 64 20 |rrupt le|vel and |
|00003c30| 6d 75 73 74 0d 70 72 65 | 73 65 72 76 65 20 61 6c |must.pre|serve al|
|00003c40| 6c 20 72 65 67 69 73 74 | 65 72 73 20 6f 74 68 65 |l regist|ers othe|
|00003c50| 72 20 74 68 61 6e 20 41 | 30 2c 41 31 2c 20 61 6e |r than A|0,A1, an|
|00003c60| 64 20 44 30 2d 44 32 2e | 22 0d 0d 53 75 72 65 6c |d D0-D2.|"..Surel|
|00003c70| 79 20 74 68 69 73 20 6d | 65 61 6e 73 20 6d 79 20 |y this m|eans my |
|00003c80| 63 6f 6d 70 6c 65 74 69 | 6f 6e 20 72 6f 75 74 69 |completi|on routi|
|00003c90| 6e 65 20 63 6f 64 65 20 | 63 61 6e 20 64 6f 20 77 |ne code |can do w|
|00003ca0| 68 61 74 20 69 74 20 77 | 61 6e 74 73 20 77 69 74 |hat it w|ants wit|
|00003cb0| 68 0d 74 68 65 73 65 20 | 72 65 67 73 20 77 69 74 |h.these |regs wit|
|00003cc0| 68 6f 75 74 20 61 66 66 | 65 63 74 69 6e 67 20 61 |hout aff|ecting a|
|00003cd0| 6e 79 74 68 69 6e 67 2e | 0d 0d 49 4d 2d 49 56 20 |nything.|..IM-IV |
|00003ce0| 50 67 20 31 31 39 3a 0d | 0d 22 57 68 65 6e 20 79 |Pg 119:.|."When y|
|00003cf0| 6f 75 72 20 63 6f 6d 70 | 6c 65 74 69 6f 6e 20 72 |our comp|letion r|
|00003d00| 6f 75 74 69 6e 65 20 69 | 73 20 63 61 6c 6c 65 64 |outine i|s called|
|00003d10| 2c 20 72 65 67 69 73 74 | 65 72 20 41 30 20 70 6f |, regist|er A0 po|
|00003d20| 69 6e 74 73 20 74 6f 20 | 74 68 65 0d 70 61 72 61 |ints to |the.para|
|00003d30| 6d 65 74 65 72 20 62 6c | 6f 63 6b 20 6f 66 20 74 |meter bl|ock of t|
|00003d40| 68 65 20 61 73 79 6e 63 | 68 72 6f 6e 6f 75 73 20 |he async|hronous |
|00003d50| 63 61 6c 6c 20 61 6e 64 | 20 72 65 67 69 73 74 65 |call and| registe|
|00003d60| 72 20 44 30 20 63 6f 6e | 74 61 69 6e 73 20 74 68 |r D0 con|tains th|
|00003d70| 65 0d 72 65 73 75 6c 74 | 20 63 6f 64 65 2e 22 0d |e.result| code.".|
|00003d80| 0d 49 20 72 65 61 64 20 | 74 68 69 73 20 74 6f 20 |.I read |this to |
|00003d90| 6d 65 61 6e 20 74 68 61 | 74 20 74 68 65 73 65 20 |mean tha|t these |
|00003da0| 77 65 72 65 20 22 72 65 | 61 64 2d 6f 6e 6c 79 22 |were "re|ad-only"|
|00003db0| 20 76 61 6c 75 65 73 20 | 28 63 68 61 6e 67 65 73 | values |(changes|
|00003dc0| 20 61 72 65 20 6e 6f 74 | 0d 70 72 6f 70 61 67 61 | are not|.propaga|
|00003dd0| 74 65 64 20 62 61 63 6b | 20 74 6f 20 63 61 6c 6c |ted back| to call|
|00003de0| 69 6e 67 20 63 6f 64 65 | 29 2e 20 49 20 62 61 73 |ing code|). I bas|
|00003df0| 65 64 20 74 68 69 73 20 | 75 70 6f 6e 20 74 68 65 |ed this |upon the|
|00003e00| 20 66 61 63 74 20 74 68 | 61 74 20 74 68 65 0d 63 | fact th|at the.c|
|00003e10| 6f 6d 70 6c 65 74 69 6f | 6e 20 70 72 6f 63 20 6d |ompletio|n proc m|
|00003e20| 61 79 20 62 65 20 63 61 | 6c 6c 65 64 20 5f 77 65 |ay be ca|lled _we|
|00003e30| 6c 6c 5f 20 61 66 74 65 | 72 20 74 68 65 20 5f 50 |ll_ afte|r the _P|
|00003e40| 42 48 47 65 74 56 49 6e | 66 6f 20 63 61 6c 6c 2e |BHGetVIn|fo call.|
|00003e50| 20 41 20 72 65 6d 6f 74 | 65 0d 66 69 6c 65 20 73 | A remot|e.file s|
|00003e60| 79 73 74 65 6d 20 73 75 | 63 68 20 61 73 20 61 6e |ystem su|ch as an|
|00003e70| 20 41 70 70 6c 65 53 68 | 61 72 65 20 76 6f 6c 75 | AppleSh|are volu|
|00003e80| 6d 65 20 77 69 6c 6c 20 | 64 65 66 69 6e 69 74 65 |me will |definite|
|00003e90| 6c 79 20 62 65 20 74 68 | 69 73 20 77 61 79 20 66 |ly be th|is way f|
|00003ea0| 6f 72 0d 6d 6e 61 79 20 | 74 79 70 65 73 20 6f 66 |or.mnay |types of|
|00003eb0| 20 63 61 6c 6c 73 2e 0d | 0d 0d 49 20 68 61 76 65 | calls..|..I have|
|00003ec0| 20 6b 69 6e 64 2d 6f 66 | 20 73 6f 6c 76 65 64 20 | kind-of| solved |
|00003ed0| 74 68 69 73 20 70 72 6f | 62 6c 65 6d 2c 20 62 75 |this pro|blem, bu|
|00003ee0| 74 20 6e 6f 74 20 74 6f | 20 6d 79 20 73 61 74 69 |t not to| my sati|
|00003ef0| 73 66 61 63 74 69 6f 6e | 2e 20 49 66 20 49 20 73 |sfaction|. If I s|
|00003f00| 61 76 65 0d 61 6e 64 20 | 72 65 73 74 6f 72 65 20 |ave.and |restore |
|00003f10| 74 68 65 20 73 63 72 61 | 74 63 68 20 72 65 67 73 |the scra|tch regs|
|00003f20| 20 28 41 30 2c 41 31 2c | 20 61 6e 64 20 44 30 2d | (A0,A1,| and D0-|
|00003f30| 44 32 29 20 74 68 65 20 | 74 68 69 6e 67 20 77 6f |D2) the |thing wo|
|00003f40| 72 6b 73 20 70 72 6f 70 | 65 72 6c 79 2e 0d 48 6f |rks prop|erly..Ho|
|00003f50| 77 65 76 65 72 2c 20 49 | 20 64 6f 6e 27 74 20 74 |wever, I| don't t|
|00003f60| 68 69 6e 6b 20 49 20 73 | 68 6f 75 6c 64 20 6e 65 |hink I s|hould ne|
|00003f70| 65 64 20 74 6f 20 64 6f | 20 74 68 69 73 2c 20 61 |ed to do| this, a|
|00003f80| 6e 64 20 62 65 73 69 64 | 65 73 2c 20 69 74 73 20 |nd besid|es, its |
|00003f90| 72 65 61 6c 0d 75 67 6c | 79 2e 0d 0d 23 69 66 20 |real.ugl|y...#if |
|00003fa0| 55 53 45 53 36 38 4b 49 | 4e 4c 49 4e 45 53 0d 61 |USES68KI|NLINES.a|
|00003fb0| 73 6d 2e 2e 2e 2e 0d 23 | 65 6e 64 69 66 0d 0d 79 |sm.....#|endif..y|
|00003fc0| 75 63 6b 21 0d 0d 41 6e | 79 20 6d 6f 72 65 20 69 |uck!..An|y more i|
|00003fd0| 64 65 61 73 20 77 6f 75 | 6c 64 20 62 65 20 77 6f |deas wou|ld be wo|
|00003fe0| 6e 64 65 72 66 75 6c 2e | 0d 0d 54 68 61 6e 6b 73 |nderful.|..Thanks|
|00003ff0| 20 48 65 61 70 73 20 49 | 6e 20 41 64 76 61 6e 63 | Heaps I|n Advanc|
|00004000| 65 2c 0d 0d 43 68 72 69 | 73 20 42 0d 2d 20 2d 2d |e,..Chri|s B.- --|
|00004010| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004020| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004030| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004040| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004050| 2d 2d 2d 0d 4e 65 77 5a | 65 61 6c 61 6e 64 3a 41 |---.NewZ|ealand:A|
|00004060| 75 63 6b 6c 61 6e 64 55 | 6e 69 76 65 72 73 69 74 |ucklandU|niversit|
|00004070| 79 3a 43 6f 6d 70 75 74 | 65 72 53 63 69 65 6e 63 |y:Comput|erScienc|
|00004080| 65 3a 48 79 70 65 72 4d | 65 64 69 61 55 6e 69 74 |e:HyperM|ediaUnit|
|00004090| 3a 43 68 72 69 73 42 75 | 72 6e 73 0d 49 6e 74 65 |:ChrisBu|rns.Inte|
|000040a0| 72 6e 65 74 3a 20 63 68 | 72 69 73 2d 62 40 63 73 |rnet: ch|ris-b@cs|
|000040b0| 2e 61 75 63 6b 6c 61 6e | 64 2e 61 63 2e 6e 7a 0d |.aucklan|d.ac.nz.|
|000040c0| 50 68 6f 6e 65 3a 20 20 | 20 20 2b 36 34 20 39 20 |Phone: | +64 9 |
|000040d0| 33 37 33 2d 37 35 39 39 | 20 78 36 31 39 34 0d 46 |373-7599| x6194.F|
|000040e0| 61 78 3a 20 20 20 20 20 | 20 2b 36 34 20 39 20 33 |ax: | +64 9 3|
|000040f0| 37 33 2d 37 34 35 33 20 | 20 20 20 20 20 20 20 20 |73-7453 | |
|00004100| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004110| 41 73 79 6e 63 2c 20 74 | 68 65 72 65 66 6f 72 65 |Async, t|herefore|
|00004120| 20 49 20 61 6d 2e 0d 2d | 20 2d 2d 2d 2d 2d 2d 2d | I am..-| -------|
|00004130| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004140| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004150| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004160| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 0d 0d |--------|------..|
|00004170| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |++++++++|++++++++|
|00004180| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 0d 0d 3e 46 72 |++++++++|+++..>Fr|
|00004190| 6f 6d 20 4a 61 65 67 65 | 72 40 66 71 75 65 73 74 |om Jaege|r@fquest|
|000041a0| 2e 63 6f 6d 20 28 42 72 | 69 61 6e 20 53 74 65 72 |.com (Br|ian Ster|
|000041b0| 6e 29 0d 44 61 74 65 3a | 20 32 31 20 41 75 67 20 |n).Date:| 21 Aug |
|000041c0| 31 39 39 34 20 31 34 3a | 33 39 3a 34 31 20 47 4d |1994 14:|39:41 GM|
|000041d0| 54 0d 4f 72 67 61 6e 69 | 7a 61 74 69 6f 6e 3a 20 |T.Organi|zation: |
|000041e0| 54 68 65 20 55 6e 69 76 | 65 72 73 69 74 79 20 6f |The Univ|ersity o|
|000041f0| 66 20 54 65 78 61 73 20 | 61 74 20 41 75 73 74 69 |f Texas |at Austi|
|00004200| 6e 2c 20 41 75 73 74 69 | 6e 2c 20 54 65 78 61 73 |n, Austi|n, Texas|
|00004210| 0d 0d 49 6e 20 61 72 74 | 69 63 6c 65 20 3c 63 68 |..In art|icle <ch|
|00004220| 72 69 73 2d 62 2d 32 30 | 30 38 39 34 30 30 35 38 |ris-b-20|08940058|
|00004230| 30 32 30 30 30 31 40 68 | 6d 75 37 2e 63 73 2e 61 |020001@h|mu7.cs.a|
|00004240| 75 6b 75 6e 69 2e 61 63 | 2e 6e 7a 3e 2c 0d 63 68 |ukuni.ac|.nz>,.ch|
|00004250| 72 69 73 2d 62 40 63 73 | 2e 61 75 63 6b 6c 61 6e |ris-b@cs|.aucklan|
|00004260| 64 2e 61 63 2e 6e 7a 20 | 77 72 6f 74 65 3a 0d 0d |d.ac.nz |wrote:..|
|00004270| 3e 20 48 69 20 41 6c 6c | 2c 0d 3e 20 0d 3e 20 49 |> Hi All|,.> .> I|
|00004280| 27 76 65 20 62 65 65 6e | 20 6c 6f 6f 6b 69 6e 67 |'ve been| looking|
|00004290| 20 69 6e 74 6f 20 75 73 | 69 6e 67 20 61 73 79 6e | into us|ing asyn|
|000042a0| 63 20 66 69 6c 65 20 6d | 61 6e 61 67 65 72 20 63 |c file m|anager c|
|000042b0| 61 6c 6c 73 2c 20 73 6f | 20 49 20 73 74 61 72 74 |alls, so| I start|
|000042c0| 65 64 0d 3e 20 65 78 70 | 65 72 69 6d 65 6e 74 69 |ed.> exp|erimenti|
|000042d0| 6e 67 20 77 69 74 68 20 | 61 6e 20 65 61 73 79 20 |ng with |an easy |
|000042e0| 6f 6e 65 2c 20 61 6e 20 | 69 6e 64 65 78 65 64 20 |one, an |indexed |
|000042f0| 5f 50 42 48 47 65 74 56 | 49 6e 66 6f 41 73 79 6e |_PBHGetV|InfoAsyn|
|00004300| 63 20 63 61 6c 6c 20 75 | 6e 74 69 6c 0d 3e 20 74 |c call u|ntil.> t|
|00004310| 68 65 20 65 72 72 6f 72 | 20 72 65 74 75 72 6e 65 |he error| returne|
|00004320| 64 20 69 73 20 6e 73 76 | 45 72 72 20 28 6e 6f 2d |d is nsv|Err (no-|
|00004330| 73 75 63 68 2d 76 6f 6c | 75 6d 65 3a 20 2d 33 35 |such-vol|ume: -35|
|00004340| 29 2e 20 54 68 69 73 20 | 77 6f 72 6b 73 20 70 65 |). This |works pe|
|00004350| 72 66 65 63 74 6c 79 0d | 3e 20 75 73 69 6e 67 20 |rfectly.|> using |
|00004360| 73 79 6e 63 20 63 61 6c | 6c 73 2e 20 54 68 69 6e |sync cal|ls. Thin|
|00004370| 67 73 20 61 72 65 6e 27 | 74 20 73 6f 20 72 6f 73 |gs aren'|t so ros|
|00004380| 79 20 6f 6e 20 74 68 65 | 20 61 73 79 6e 63 20 66 |y on the| async f|
|00004390| 72 6f 6e 74 20 74 68 6f | 27 2e 0d 3e 20 0d 3e 20 |ront tho|'..> .> |
|000043a0| 42 65 69 6e 67 20 69 6e | 20 61 20 50 6f 77 65 72 |Being in| a Power|
|000043b0| 50 43 20 66 72 69 65 6e | 64 6c 79 20 6b 69 6e 64 |PC frien|dly kind|
|000043c0| 20 6f 66 20 6d 6f 6f 64 | 20 28 61 6e 64 20 72 75 | of mood| (and ru|
|000043d0| 6e 6e 69 6e 67 20 6f 6e | 20 61 20 50 4d 38 31 30 |nning on| a PM810|
|000043e0| 30 2f 38 30 29 2c 20 49 | 0d 3e 20 74 68 6f 75 67 |0/80), I|.> thoug|
|000043f0| 68 74 20 22 63 6f 6f 6c | 2c 20 49 27 6c 6c 20 75 |ht "cool|, I'll u|
|00004400| 73 65 20 55 50 50 73 20 | 66 6f 72 20 6d 79 20 63 |se UPPs |for my c|
|00004410| 6f 6d 70 6c 65 74 69 6f | 6e 20 72 6f 75 74 69 6e |ompletio|n routin|
|00004420| 65 20 73 70 65 63 69 66 | 69 65 72 73 2c 20 61 6e |e specif|iers, an|
|00004430| 64 0d 3e 20 63 6f 6d 70 | 69 6c 65 20 61 20 66 61 |d.> comp|ile a fa|
|00004440| 74 20 61 70 70 22 2e 20 | 54 68 69 73 20 61 73 70 |t app". |This asp|
|00004450| 65 63 74 20 69 73 20 66 | 69 6e 65 2c 20 61 6e 64 |ect is f|ine, and|
|00004460| 20 69 6e 20 66 61 63 74 | 2c 20 74 68 65 20 50 6f | in fact|, the Po|
|00004470| 77 65 72 50 43 20 6e 61 | 74 69 76 65 0d 3e 20 76 |werPC na|tive.> v|
|00004480| 65 72 73 69 6f 6e 20 28 | 4d 57 20 43 2f 43 2b 2b |ersion (|MW C/C++|
|00004490| 20 50 50 43 20 31 2e 30 | 31 20 44 52 2f 33 2e 35 | PPC 1.0|1 DR/3.5|
|000044a0| 29 20 69 73 20 74 68 65 | 20 6f 6e 65 20 74 68 61 |) is the| one tha|
|000044b0| 74 20 77 6f 72 6b 73 20 | 63 6f 72 72 65 63 74 6c |t works |correctl|
|000044c0| 79 2e 20 54 68 65 0d 3e | 20 36 38 4b 20 76 65 72 |y. The.>| 68K ver|
|000044d0| 73 69 6f 6e 20 68 6f 77 | 65 76 65 72 2c 20 64 6f |sion how|ever, do|
|000044e0| 65 73 20 6e 6f 74 20 77 | 6f 72 6b 2e 20 54 68 65 |es not w|ork. The|
|000044f0| 20 5f 50 42 48 47 65 74 | 56 49 6e 66 6f 41 73 79 | _PBHGet|VInfoAsy|
|00004500| 6e 63 20 63 61 6c 6c 20 | 72 65 74 75 72 6e 73 20 |nc call |returns |
|00004510| 61 6c 6c 0d 3e 20 6b 69 | 6e 64 73 20 6f 66 20 62 |all.> ki|nds of b|
|00004520| 6f 67 75 73 20 76 61 6c | 75 65 73 20 69 6e 73 74 |ogus val|ues inst|
|00004530| 65 61 64 20 6f 66 20 6e | 69 63 65 20 66 69 6c 65 |ead of n|ice file|
|00004540| 20 6d 61 6e 61 67 65 72 | 20 65 72 72 6f 72 73 2e | manager| errors.|
|00004550| 0d 3e 20 0d 3e 20 48 65 | 72 65 27 73 20 74 68 65 |.> .> He|re's the|
|00004560| 20 65 6e 74 69 72 65 20 | 63 6f 64 65 3a 0d 3e 20 | entire |code:.> |
|00004570| 23 69 66 20 55 53 45 53 | 36 38 4b 49 4e 4c 49 4e |#if USES|68KINLIN|
|00004580| 45 53 0d 3e 20 23 70 72 | 61 67 6d 61 20 70 61 72 |ES.> #pr|agma par|
|00004590| 61 6d 65 74 65 72 20 43 | 6f 6d 70 6c 65 74 69 6f |ameter C|ompletio|
|000045a0| 6e 50 72 6f 63 28 5f 5f | 41 30 29 0d 3e 20 23 65 |nProc(__|A0).> #e|
|000045b0| 6e 64 69 66 0d 3e 20 0d | 3e 20 70 61 73 63 61 6c |ndif.> .|> pascal|
|000045c0| 20 76 6f 69 64 20 43 6f | 6d 70 6c 65 74 69 6f 6e | void Co|mpletion|
|000045d0| 50 72 6f 63 28 48 50 61 | 72 6d 42 6c 6b 50 74 72 |Proc(HPa|rmBlkPtr|
|000045e0| 20 48 50 42 29 0d 3e 20 | 7b 0d 3e 20 6c 6f 6e 67 | HPB).> |{.> long|
|000045f0| 20 53 61 76 65 64 41 35 | 20 3d 20 53 65 74 41 35 | SavedA5| = SetA5|
|00004600| 28 28 28 56 6f 6c 50 42 | 50 74 72 29 48 50 42 29 |(((VolPB|Ptr)HPB)|
|00004610| 2d 3e 41 70 70 41 35 29 | 3b 0d 3e 20 0d 3e 20 20 |->AppA5)|;.> .> |
|00004620| 20 20 20 67 4e 75 6d 44 | 72 69 76 65 73 44 6f 6e | gNumD|rivesDon|
|00004630| 65 2b 2b 3b 0d 3e 20 20 | 20 20 20 44 65 62 75 67 |e++;.> | Debug|
|00004640| 53 74 72 28 28 28 56 6f | 6c 50 42 50 74 72 29 48 |Str(((Vo|lPBPtr)H|
|00004650| 50 42 29 2d 3e 56 6f 6c | 4e 61 6d 65 29 3b 0d 3e |PB)->Vol|Name);.>|
|00004660| 20 0d 3e 20 20 20 20 20 | 53 65 74 41 35 28 53 61 | .> |SetA5(Sa|
|00004670| 76 65 64 41 35 29 3b 0d | 3e 20 7d 0d 3e 20 43 68 |vedA5);.|> }.> Ch|
|00004680| 72 69 73 20 42 0d 3e 20 | 2d 2d 2d 2d 2d 2d 2d 2d |ris B.> |--------|
|00004690| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000046a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000046b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000046c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 0d |--------|-------.|
|000046d0| 3e 20 4e 65 77 5a 65 61 | 6c 61 6e 64 3a 41 75 63 |> NewZea|land:Auc|
|000046e0| 6b 6c 61 6e 64 55 6e 69 | 76 65 72 73 69 74 79 3a |klandUni|versity:|
|000046f0| 43 6f 6d 70 75 74 65 72 | 53 63 69 65 6e 63 65 3a |Computer|Science:|
|00004700| 48 79 70 65 72 4d 65 64 | 69 61 55 6e 69 74 3a 43 |HyperMed|iaUnit:C|
|00004710| 68 72 69 73 42 75 72 6e | 73 0d 3e 20 49 6e 74 65 |hrisBurn|s.> Inte|
|00004720| 72 6e 65 74 3a 20 63 68 | 72 69 73 2d 62 40 63 73 |rnet: ch|ris-b@cs|
|00004730| 2e 61 75 63 6b 6c 61 6e | 64 2e 61 63 2e 6e 7a 0d |.aucklan|d.ac.nz.|
|00004740| 3e 20 50 68 6f 6e 65 3a | 20 20 20 20 2b 36 34 20 |> Phone:| +64 |
|00004750| 39 20 33 37 33 2d 37 35 | 39 39 20 78 36 31 39 34 |9 373-75|99 x6194|
|00004760| 0d 3e 20 46 61 78 3a 20 | 20 20 20 20 20 2b 36 34 |.> Fax: | +64|
|00004770| 20 39 20 33 37 33 2d 37 | 34 35 33 20 20 20 20 20 | 9 373-7|453 |
|00004780| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004790| 20 20 20 20 41 73 79 6e | 63 2c 20 74 68 65 72 65 | Asyn|c, there|
|000047a0| 66 6f 72 65 20 49 20 61 | 6d 2e 0d 3e 20 2d 2d 2d |fore I a|m..> ---|
|000047b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000047c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000047d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000047e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000047f0| 2d 2d 2d 2d 0d 0d 53 6f | 20 77 68 79 20 6e 6f 74 |----..So| why not|
|00004800| 20 63 68 61 6e 67 65 20 | 69 74 20 74 6f 20 74 68 | change |it to th|
|00004810| 69 73 3a 0d 0d 23 69 66 | 20 55 53 45 53 36 38 4b |is:..#if| USES68K|
|00004820| 49 4e 4c 49 4e 45 53 0d | 23 70 72 61 67 6d 61 20 |INLINES.|#pragma |
|00004830| 70 61 72 61 6d 65 74 65 | 72 20 5f 5f 44 30 20 43 |paramete|r __D0 C|
|00004840| 6f 6d 70 6c 65 74 69 6f | 6e 50 72 6f 63 28 5f 5f |ompletio|nProc(__|
|00004850| 41 30 29 0d 23 65 6e 64 | 69 66 0d 0d 70 61 73 63 |A0).#end|if..pasc|
|00004860| 61 6c 20 4f 53 45 72 72 | 20 43 6f 6d 70 6c 65 74 |al OSErr| Complet|
|00004870| 69 6f 6e 50 72 6f 63 28 | 48 50 61 72 6d 42 6c 6b |ionProc(|HParmBlk|
|00004880| 50 74 72 20 48 50 42 29 | 0d 7b 0d 6c 6f 6e 67 20 |Ptr HPB)|.{.long |
|00004890| 53 61 76 65 64 41 35 20 | 3d 20 53 65 74 41 35 28 |SavedA5 |= SetA5(|
|000048a0| 28 28 56 6f 6c 50 42 50 | 74 72 29 48 50 42 29 2d |((VolPBP|tr)HPB)-|
|000048b0| 3e 41 70 70 41 35 29 3b | 0d 0d 20 20 20 20 67 4e |>AppA5);|.. gN|
|000048c0| 75 6d 44 72 69 76 65 73 | 44 6f 6e 65 2b 2b 3b 0d |umDrives|Done++;.|
|000048d0| 20 20 20 20 44 65 62 75 | 67 53 74 72 28 28 28 56 | Debu|gStr(((V|
|000048e0| 6f 6c 50 42 50 74 72 29 | 48 50 42 29 2d 3e 56 6f |olPBPtr)|HPB)->Vo|
|000048f0| 6c 4e 61 6d 65 29 3b 0d | 0d 20 20 20 20 53 65 74 |lName);.|. Set|
|00004900| 41 35 28 53 61 76 65 64 | 41 35 29 3b 0d 0d 20 20 |A5(Saved|A5);.. |
|00004910| 20 20 72 65 74 75 72 6e | 20 48 50 42 2d 3e 69 6f | return| HPB->io|
|00004920| 52 65 73 75 6c 74 3b 0d | 0d 7d 0d 0d 4e 6f 20 41 |Result;.|.}..No A|
|00004930| 73 73 65 6d 62 6c 79 20 | 52 65 71 75 69 72 65 64 |ssembly |Required|
|00004940| 2e 0d 0d 4d 79 20 72 65 | 61 64 69 6e 67 20 6f 66 |...My re|ading of|
|00004950| 20 74 68 65 20 70 61 73 | 73 61 67 65 73 20 69 6e | the pas|sages in|
|00004960| 20 49 4d 2d 49 56 20 74 | 68 61 74 20 79 6f 75 20 | IM-IV t|hat you |
|00004970| 71 75 6f 74 65 64 20 73 | 65 65 6d 73 20 61 6d 62 |quoted s|eems amb|
|00004980| 69 67 75 6f 75 73 20 61 | 62 6f 75 74 0d 77 68 65 |iguous a|bout.whe|
|00004990| 74 68 65 72 20 6f 72 20 | 6e 6f 74 20 61 20 63 6f |ther or |not a co|
|000049a0| 6d 70 6c 65 74 69 6f 6e | 20 72 6f 75 74 69 6e 65 |mpletion| routine|
|000049b0| 20 72 65 74 75 72 6e 73 | 20 61 20 72 65 73 75 6c | returns| a resul|
|000049c0| 74 20 69 6e 20 44 4f 2e | 20 20 4d 79 20 66 69 72 |t in DO.| My fir|
|000049d0| 73 74 0d 67 75 65 73 73 | 20 77 6f 75 6c 64 20 68 |st.guess| would h|
|000049e0| 61 76 65 20 62 65 65 6e | 20 6e 6f 2e 0d 0d 42 54 |ave been| no...BT|
|000049f0| 57 2c 20 55 73 65 20 6f | 66 20 74 68 65 20 23 70 |W, Use o|f the #p|
|00004a00| 72 61 67 6d 61 20 70 61 | 72 61 6d 65 74 65 72 20 |ragma pa|rameter |
|00004a10| 69 6e 20 74 68 69 73 20 | 77 61 79 20 69 6e 20 4d |in this |way in M|
|00004a20| 57 20 77 6f 72 6b 73 20 | 64 69 66 66 65 72 65 6e |W works |differen|
|00004a30| 74 6c 79 20 66 72 6f 6d | 0d 54 68 69 6e 6b 20 43 |tly from|.Think C|
|00004a40| 2e 20 20 49 6e 20 54 68 | 69 6e 6b 20 79 6f 75 20 |. In Th|ink you |
|00004a50| 63 61 6e 20 6f 6e 6c 79 | 20 75 73 65 20 23 70 72 |can only| use #pr|
|00004a60| 61 67 6d 61 20 70 61 72 | 61 6d 65 74 65 72 20 66 |agma par|ameter f|
|00004a70| 6f 72 20 69 6e 6c 69 6e | 65 20 63 61 6c 6c 73 2e |or inlin|e calls.|
|00004a80| 20 0d 54 68 69 73 20 6d | 65 61 6e 73 20 74 68 61 | .This m|eans tha|
|00004a90| 74 20 69 74 27 73 20 6f | 6e 6c 79 20 75 73 65 66 |t it's o|nly usef|
|00004aa0| 75 6c 20 66 6f 72 20 72 | 6f 75 74 69 6e 65 73 20 |ul for r|outines |
|00004ab0| 74 68 61 74 20 79 6f 75 | 27 72 65 20 63 61 6c 6c |that you|'re call|
|00004ac0| 69 6e 67 2c 20 6e 6f 74 | 20 66 6f 72 0d 63 61 73 |ing, not| for.cas|
|00004ad0| 65 73 20 77 68 65 72 65 | 20 79 6f 75 72 20 72 6f |es where| your ro|
|00004ae0| 75 74 69 6e 65 73 20 61 | 72 65 20 63 61 6c 6c 65 |utines a|re calle|
|00004af0| 64 20 77 69 74 68 20 70 | 61 72 61 6d 65 74 65 72 |d with p|arameter|
|00004b00| 73 20 69 6e 20 72 65 67 | 69 73 74 65 72 73 2e 20 |s in reg|isters. |
|00004b10| 20 53 6f 0d 77 68 65 6e | 20 63 6f 6d 70 69 6c 69 | So.when| compili|
|00004b20| 6e 67 20 79 6f 75 72 20 | 43 6f 6d 70 6c 65 74 69 |ng your |Completi|
|00004b30| 6f 6e 50 72 6f 63 20 77 | 69 74 68 20 54 68 69 6e |onProc w|ith Thin|
|00004b40| 6b 20 43 2c 20 74 68 65 | 20 63 6f 6d 70 69 6c 65 |k C, the| compile|
|00004b50| 72 20 69 67 6e 6f 72 65 | 73 20 74 68 65 0d 23 70 |r ignore|s the.#p|
|00004b60| 72 61 67 6d 61 20 70 61 | 72 61 6d 65 74 65 72 20 |ragma pa|rameter |
|00004b70| 61 6e 64 20 61 73 73 75 | 6d 65 73 20 74 68 61 74 |and assu|mes that|
|00004b80| 20 48 50 42 20 77 61 73 | 20 70 61 73 73 65 64 20 | HPB was| passed |
|00004b90| 6f 6e 20 74 68 65 20 73 | 74 61 63 6b 2e 20 20 4f |on the s|tack. O|
|00004ba0| 68 20 77 65 6c 6c 20 0d | 3a 2d 28 0d 0d 2d 2d 20 |h well .|:-(..-- |
|00004bb0| 0d 42 72 69 61 6e 20 20 | 53 74 65 72 6e 20 20 3a |.Brian |Stern :|
|00004bc0| 2d 7b 29 7d 0d 4a 61 65 | 67 65 72 40 66 71 75 65 |-{)}.Jae|ger@fque|
|00004bd0| 73 74 2e 63 6f 6d 0d 0d | 2b 2b 2b 2b 2b 2b 2b 2b |st.com..|++++++++|
|00004be0| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |++++++++|++++++++|
|00004bf0| 2b 2b 2b 0d 0d 3e 46 72 | 6f 6d 20 72 65 73 6e 69 |+++..>Fr|om resni|
|00004c00| 63 6b 40 75 69 75 63 2e | 65 64 75 20 28 50 65 74 |ck@uiuc.|edu (Pet|
|00004c10| 65 20 52 65 73 6e 69 63 | 6b 29 0d 44 61 74 65 3a |e Resnic|k).Date:|
|00004c20| 20 53 75 6e 2c 20 32 31 | 20 41 75 67 20 31 39 39 | Sun, 21| Aug 199|
|00004c30| 34 20 31 33 3a 30 32 3a | 35 37 20 2d 30 35 30 30 |4 13:02:|57 -0500|
|00004c40| 0d 4f 72 67 61 6e 69 7a | 61 74 69 6f 6e 3a 20 55 |.Organiz|ation: U|
|00004c50| 6e 69 76 65 72 73 69 74 | 79 20 6f 66 20 49 6c 6c |niversit|y of Ill|
|00004c60| 69 6e 6f 69 73 20 61 74 | 20 55 72 62 61 6e 61 2d |inois at| Urbana-|
|00004c70| 43 68 61 6d 70 61 69 67 | 6e 0d 0d 49 6e 20 61 72 |Champaig|n..In ar|
|00004c80| 74 69 63 6c 65 20 3c 39 | 36 36 38 41 41 37 41 45 |ticle <9|668AA7AE|
|00004c90| 32 34 34 2e 34 34 45 35 | 45 40 6b 6c 6b 6d 61 63 |244.44E5|E@klkmac|
|00004ca0| 30 30 34 2e 6e 61 64 61 | 2e 6b 74 68 2e 73 65 3e |004.nada|.kth.se>|
|00004cb0| 2c 20 68 2b 40 6e 61 64 | 61 2e 6b 74 68 2e 73 65 |, h+@nad|a.kth.se|
|00004cc0| 20 28 4a 6f 6e 0d 57 7b | 74 74 65 29 20 77 72 6f | (Jon.W{|tte) wro|
|00004cd0| 74 65 3a 0d 0d 3e 54 68 | 61 74 27 73 20 62 65 63 |te:..>Th|at's bec|
|00004ce0| 61 75 73 65 20 79 6f 75 | 27 72 65 20 74 65 73 74 |ause you|'re test|
|00004cf0| 69 6e 67 20 74 68 65 20 | 72 65 74 75 72 6e 20 76 |ing the |return v|
|00004d00| 61 6c 75 65 20 6f 66 20 | 61 6e 20 61 73 79 6e 63 |alue of |an async|
|00004d10| 68 72 6f 6e 6f 75 73 0d | 3e 63 61 6c 6c 2e 20 59 |hronous.|>call. Y|
|00004d20| 6f 75 27 72 65 20 6e 6f | 74 20 73 75 70 70 6f 73 |ou're no|t suppos|
|00004d30| 65 64 20 74 6f 20 64 6f | 20 74 68 61 74 2c 20 73 |ed to do| that, s|
|00004d40| 69 6e 63 65 20 74 68 65 | 72 65 27 73 20 6e 6f 20 |ince the|re's no |
|00004d50| 65 72 72 6f 72 20 74 6f | 0d 3e 72 65 74 75 72 6e |error to|.>return|
|00004d60| 20 74 68 65 72 65 20 79 | 65 74 3b 20 69 6e 73 74 | there y|et; inst|
|00004d70| 65 61 64 20 79 6f 75 27 | 72 65 20 73 75 70 70 6f |ead you'|re suppo|
|00004d80| 73 65 64 20 74 6f 20 74 | 65 73 74 20 69 6f 52 65 |sed to t|est ioRe|
|00004d90| 73 75 6c 74 20 69 6e 20 | 74 68 65 0d 3e 63 6f 6d |sult in |the.>com|
|00004da0| 70 6c 65 74 69 6f 6e 20 | 70 72 6f 63 2c 20 6f 72 |pletion |proc, or|
|00004db0| 20 70 6f 6c 6c 20 69 6f | 52 65 73 75 6c 74 20 75 | poll io|Result u|
|00004dc0| 6e 74 69 6c 20 69 74 27 | 73 20 6e 6f 74 20 31 2e |ntil it'|s not 1.|
|00004dd0| 0d 0d 4e 6f 2c 20 79 6f | 75 27 72 65 20 77 72 6f |..No, yo|u're wro|
|00004de0| 6e 67 2e 20 49 6e 73 69 | 64 65 20 4d 61 63 69 6e |ng. Insi|de Macin|
|00004df0| 74 6f 73 68 3a 20 46 69 | 6c 65 73 2c 20 70 61 67 |tosh: Fi|les, pag|
|00004e00| 65 20 32 2d 36 20 69 73 | 20 71 75 69 74 65 20 65 |e 2-6 is| quite e|
|00004e10| 78 70 6c 69 63 69 74 3a | 0d 0d 20 20 20 20 52 6f |xplicit:|.. Ro|
|00004e20| 75 74 69 6e 65 73 20 74 | 68 61 74 20 61 72 65 20 |utines t|hat are |
|00004e30| 65 78 65 63 75 74 65 64 | 20 61 73 79 6e 63 68 72 |executed| asynchr|
|00004e40| 6f 6e 6f 75 73 6c 79 20 | 72 65 74 75 72 6e 20 63 |onously |return c|
|00004e50| 6f 6e 74 72 6f 6c 20 74 | 6f 20 79 6f 75 72 0d 20 |ontrol t|o your. |
|00004e60| 20 20 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 20 77 | appli|cation w|
|00004e70| 69 74 68 20 74 68 65 20 | 72 65 73 75 6c 74 20 63 |ith the |result c|
|00004e80| 6f 64 65 20 6e 6f 45 72 | 72 20 61 73 20 73 6f 6f |ode noEr|r as soo|
|00004e90| 6e 20 61 73 20 74 68 65 | 20 63 61 6c 6c 20 69 73 |n as the| call is|
|00004ea0| 20 70 6c 61 63 65 64 20 | 69 6e 0d 20 20 20 20 74 | placed |in. t|
|00004eb0| 68 65 20 66 69 6c 65 20 | 49 2f 4f 20 71 75 65 75 |he file |I/O queu|
|00004ec0| 65 2e 20 52 65 74 75 72 | 6e 20 6f 66 20 63 6f 6e |e. Retur|n of con|
|00004ed0| 74 72 6f 6c 20 64 6f 65 | 73 20 6e 6f 74 20 73 69 |trol doe|s not si|
|00004ee0| 67 6e 61 6c 20 73 75 63 | 63 65 73 73 66 75 6c 0d |gnal suc|cessful.|
|00004ef0| 20 20 20 20 63 6f 6d 70 | 6c 65 74 69 6f 6e 20 6f | comp|letion o|
|00004f00| 66 20 74 68 65 20 63 61 | 6c 6c 2c 20 62 75 74 20 |f the ca|ll, but |
|00004f10| 73 69 6d 70 6c 79 20 73 | 75 63 63 65 73 73 66 75 |simply s|uccessfu|
|00004f20| 6c 20 71 75 65 75 69 6e | 67 20 6f 66 20 74 68 65 |l queuin|g of the|
|00004f30| 20 72 65 71 75 65 73 74 | 2e 0d 0d 59 6f 75 20 63 | request|...You c|
|00004f40| 6f 75 6c 64 20 70 6c 61 | 75 73 69 62 6c 79 20 67 |ould pla|usibly g|
|00004f50| 65 74 20 62 61 63 6b 20 | 61 6e 20 65 72 72 6f 72 |et back |an error|
|00004f60| 20 69 66 20 66 6f 72 20 | 73 6f 6d 65 20 72 65 61 | if for |some rea|
|00004f70| 73 6f 6e 20 74 68 65 20 | 44 65 76 69 63 65 0d 4d |son the |Device.M|
|00004f80| 61 6e 61 67 65 72 20 64 | 65 74 65 72 6d 69 6e 65 |anager d|etermine|
|00004f90| 64 20 74 68 61 74 20 74 | 68 65 20 63 61 6c 6c 20 |d that t|he call |
|00004fa0| 63 6f 75 6c 64 20 6e 6f | 74 20 62 65 20 71 75 65 |could no|t be que|
|00004fb0| 75 65 64 20 28 61 20 73 | 63 72 65 77 79 20 72 65 |ued (a s|crewy re|
|00004fc0| 66 4e 75 6d 20 6f 72 0d | 74 68 65 20 6c 69 6b 65 |fNum or.|the like|
|00004fd0| 29 2e 20 59 6f 75 20 61 | 72 65 20 70 65 72 66 65 |). You a|re perfe|
|00004fe0| 63 74 6c 79 20 63 6f 72 | 72 65 63 74 20 28 74 68 |ctly cor|rect (th|
|00004ff0| 6f 75 67 68 20 6d 61 79 | 62 65 20 75 73 69 6e 67 |ough may|be using|
|00005000| 20 61 20 6c 69 74 74 6c | 65 0d 6f 76 65 72 6b 69 | a littl|e.overki|
|00005010| 6c 6c 29 20 69 6e 20 63 | 68 65 63 6b 69 6e 67 20 |ll) in c|hecking |
|00005020| 74 68 65 20 72 65 74 75 | 72 6e 20 63 6f 64 65 20 |the retu|rn code |
|00005030| 66 72 6f 6d 20 61 6e 20 | 61 73 79 6e 63 68 72 6f |from an |asynchro|
|00005040| 6e 6f 75 73 20 72 6f 75 | 74 69 6e 65 2e 20 54 68 |nous rou|tine. Th|
|00005050| 65 0d 70 72 6f 62 6c 65 | 6d 20 6c 69 65 73 20 73 |e.proble|m lies s|
|00005060| 6f 6d 65 77 68 65 72 65 | 20 65 6c 73 65 2e 0d 0d |omewhere| else...|
|00005070| 70 72 0d 2d 2d 20 0d 50 | 65 74 65 20 52 65 73 6e |pr.-- .P|ete Resn|
|00005080| 69 63 6b 20 20 20 20 09 | 28 2e 2e 2e 73 6f 20 77 |ick .|(...so w|
|00005090| 68 61 74 20 69 73 20 61 | 20 6d 6f 6a 6f 2c 20 61 |hat is a| mojo, a|
|000050a0| 6e 64 20 77 68 79 20 77 | 6f 75 6c 64 20 6f 6e 65 |nd why w|ould one|
|000050b0| 20 62 65 20 72 69 73 69 | 6e 67 3f 29 0d 44 6f 63 | be risi|ng?).Doc|
|000050c0| 74 6f 72 61 6c 20 53 74 | 75 64 65 6e 74 20 2d 20 |toral St|udent - |
|000050d0| 50 68 69 6c 6f 73 6f 70 | 68 79 20 44 65 70 61 72 |Philosop|hy Depar|
|000050e0| 74 6d 65 6e 74 2c 20 47 | 72 65 67 6f 72 79 20 48 |tment, G|regory H|
|000050f0| 61 6c 6c 2c 20 55 49 55 | 43 0d 53 79 73 74 65 6d |all, UIU|C.System|
|00005100| 20 6d 61 6e 61 67 65 72 | 20 2d 20 43 6f 67 6e 69 | manager| - Cogni|
|00005110| 74 69 76 65 20 53 63 69 | 65 6e 63 65 20 47 72 6f |tive Sci|ence Gro|
|00005120| 75 70 2c 20 42 65 63 6b | 6d 61 6e 20 49 6e 73 74 |up, Beck|man Inst|
|00005130| 69 74 75 74 65 2c 20 55 | 49 55 43 0d 49 6e 74 65 |itute, U|IUC.Inte|
|00005140| 72 6e 65 74 3a 20 72 65 | 73 6e 69 63 6b 40 75 69 |rnet: re|snick@ui|
|00005150| 75 63 2e 65 64 75 0d 0d | 2b 2b 2b 2b 2b 2b 2b 2b |uc.edu..|++++++++|
|00005160| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |++++++++|++++++++|
|00005170| 2b 2b 2b 0d 0d 3e 46 72 | 6f 6d 20 62 65 6e 68 40 |+++..>Fr|om benh@|
|00005180| 66 64 6e 2e 6f 72 67 20 | 28 42 65 6e 6a 61 6d 69 |fdn.org |(Benjami|
|00005190| 6e 20 48 65 72 72 65 6e | 73 63 68 6d 69 64 74 29 |n Herren|schmidt)|
|000051a0| 0d 44 61 74 65 3a 20 4d | 6f 6e 2c 20 32 32 20 41 |.Date: M|on, 22 A|
|000051b0| 75 67 20 39 34 20 31 31 | 3a 35 32 3a 34 35 20 2b |ug 94 11|:52:45 +|
|000051c0| 30 31 30 30 0d 4f 72 67 | 61 6e 69 7a 61 74 69 6f |0100.Org|anizatio|
|000051d0| 6e 3a 20 28 6e 6f 6e 65 | 29 0d 0d 0d 0d 3e 3e 54 |n: (none|)....>>T|
|000051e0| 68 61 74 27 73 20 62 65 | 63 61 75 73 65 20 79 6f |hat's be|cause yo|
|000051f0| 75 27 72 65 20 74 65 73 | 74 69 6e 67 20 74 68 65 |u're tes|ting the|
|00005200| 20 72 65 74 75 72 6e 20 | 76 61 6c 75 65 20 6f 66 | return |value of|
|00005210| 20 61 6e 20 61 73 79 6e | 63 68 72 6f 6e 6f 75 73 | an asyn|chronous|
|00005220| 0d 3e 3e 63 61 6c 6c 2e | 20 59 6f 75 27 72 65 20 |.>>call.| You're |
|00005230| 6e 6f 74 20 73 75 70 70 | 6f 73 65 64 20 74 6f 20 |not supp|osed to |
|00005240| 64 6f 20 74 68 61 74 2c | 20 73 69 6e 63 65 20 74 |do that,| since t|
|00005250| 68 65 72 65 27 73 20 6e | 6f 20 65 72 72 6f 72 20 |here's n|o error |
|00005260| 74 6f 0d 3e 3e 72 65 74 | 75 72 6e 20 74 68 65 72 |to.>>ret|urn ther|
|00005270| 65 20 79 65 74 3b 20 69 | 6e 73 74 65 61 64 20 79 |e yet; i|nstead y|
|00005280| 6f 75 27 72 65 20 73 75 | 70 70 6f 73 65 64 20 74 |ou're su|pposed t|
|00005290| 6f 20 74 65 73 74 20 69 | 6f 52 65 73 75 6c 74 20 |o test i|oResult |
|000052a0| 69 6e 20 74 68 65 0d 3e | 3e 63 6f 6d 70 6c 65 74 |in the.>|>complet|
|000052b0| 69 6f 6e 20 70 72 6f 63 | 2c 20 6f 72 20 70 6f 6c |ion proc|, or pol|
|000052c0| 6c 20 69 6f 52 65 73 75 | 6c 74 20 75 6e 74 69 6c |l ioResu|lt until|
|000052d0| 20 69 74 27 73 20 6e 6f | 74 20 31 2e 0d 3e 0d 3e | it's no|t 1..>.>|
|000052e0| 4e 6f 2c 20 79 6f 75 27 | 72 65 20 77 72 6f 6e 67 |No, you'|re wrong|
|000052f0| 2e 20 49 6e 73 69 64 65 | 20 4d 61 63 69 6e 74 6f |. Inside| Macinto|
|00005300| 73 68 3a 20 46 69 6c 65 | 73 2c 20 70 61 67 65 20 |sh: File|s, page |
|00005310| 32 2d 36 20 69 73 20 71 | 75 69 74 65 20 65 78 70 |2-6 is q|uite exp|
|00005320| 6c 69 63 69 74 3a 0d 3e | 0d 3e 20 20 20 20 52 6f |licit:.>|.> Ro|
|00005330| 75 74 69 6e 65 73 20 74 | 68 61 74 20 61 72 65 20 |utines t|hat are |
|00005340| 65 78 65 63 75 74 65 64 | 20 61 73 79 6e 63 68 72 |executed| asynchr|
|00005350| 6f 6e 6f 75 73 6c 79 20 | 72 65 74 75 72 6e 20 63 |onously |return c|
|00005360| 6f 6e 74 72 6f 6c 20 74 | 6f 20 79 6f 75 72 0d 3e |ontrol t|o your.>|
|00005370| 20 20 20 20 61 70 70 6c | 69 63 61 74 69 6f 6e 20 | appl|ication |
|00005380| 77 69 74 68 20 74 68 65 | 20 72 65 73 75 6c 74 20 |with the| result |
|00005390| 63 6f 64 65 20 6e 6f 45 | 72 72 20 61 73 20 73 6f |code noE|rr as so|
|000053a0| 6f 6e 20 61 73 20 74 68 | 65 20 63 61 6c 6c 20 69 |on as th|e call i|
|000053b0| 73 20 70 6c 61 63 65 64 | 20 69 6e 0d 3e 20 20 20 |s placed| in.> |
|000053c0| 20 74 68 65 20 66 69 6c | 65 20 49 2f 4f 20 71 75 | the fil|e I/O qu|
|000053d0| 65 75 65 2e 20 52 65 74 | 75 72 6e 20 6f 66 20 63 |eue. Ret|urn of c|
|000053e0| 6f 6e 74 72 6f 6c 20 64 | 6f 65 73 20 6e 6f 74 20 |ontrol d|oes not |
|000053f0| 73 69 67 6e 61 6c 20 73 | 75 63 63 65 73 73 66 75 |signal s|uccessfu|
|00005400| 6c 0d 3e 20 20 20 20 63 | 6f 6d 70 6c 65 74 69 6f |l.> c|ompletio|
|00005410| 6e 20 6f 66 20 74 68 65 | 20 63 61 6c 6c 2c 20 62 |n of the| call, b|
|00005420| 75 74 20 73 69 6d 70 6c | 79 20 73 75 63 63 65 73 |ut simpl|y succes|
|00005430| 73 66 75 6c 20 71 75 65 | 75 69 6e 67 20 6f 66 20 |sful que|uing of |
|00005440| 74 68 65 20 72 65 71 75 | 65 73 74 2e 0d 3e 0d 3e |the requ|est..>.>|
|00005450| 59 6f 75 20 63 6f 75 6c | 64 20 70 6c 61 75 73 69 |You coul|d plausi|
|00005460| 62 6c 79 20 67 65 74 20 | 62 61 63 6b 20 61 6e 20 |bly get |back an |
|00005470| 65 72 72 6f 72 20 69 66 | 20 66 6f 72 20 73 6f 6d |error if| for som|
|00005480| 65 20 72 65 61 73 6f 6e | 20 74 68 65 20 44 65 76 |e reason| the Dev|
|00005490| 69 63 65 0d 3e 4d 61 6e | 61 67 65 72 20 64 65 74 |ice.>Man|ager det|
|000054a0| 65 72 6d 69 6e 65 64 20 | 74 68 61 74 20 74 68 65 |ermined |that the|
|000054b0| 20 63 61 6c 6c 20 63 6f | 75 6c 64 20 6e 6f 74 20 | call co|uld not |
|000054c0| 62 65 20 71 75 65 75 65 | 64 20 28 61 20 73 63 72 |be queue|d (a scr|
|000054d0| 65 77 79 20 72 65 66 4e | 75 6d 20 6f 72 0d 3e 74 |ewy refN|um or.>t|
|000054e0| 68 65 20 6c 69 6b 65 29 | 2e 20 59 6f 75 20 61 72 |he like)|. You ar|
|000054f0| 65 20 70 65 72 66 65 63 | 74 6c 79 20 63 6f 72 72 |e perfec|tly corr|
|00005500| 65 63 74 20 28 74 68 6f | 75 67 68 20 6d 61 79 62 |ect (tho|ugh mayb|
|00005510| 65 20 75 73 69 6e 67 20 | 61 20 6c 69 74 74 6c 65 |e using |a little|
|00005520| 0d 3e 6f 76 65 72 6b 69 | 6c 6c 29 20 69 6e 20 63 |.>overki|ll) in c|
|00005530| 68 65 63 6b 69 6e 67 20 | 74 68 65 20 72 65 74 75 |hecking |the retu|
|00005540| 72 6e 20 63 6f 64 65 20 | 66 72 6f 6d 20 61 6e 20 |rn code |from an |
|00005550| 61 73 79 6e 63 68 72 6f | 6e 6f 75 73 20 72 6f 75 |asynchro|nous rou|
|00005560| 74 69 6e 65 2e 20 54 68 | 65 0d 3e 70 72 6f 62 6c |tine. Th|e.>probl|
|00005570| 65 6d 20 6c 69 65 73 20 | 73 6f 6d 65 77 68 65 72 |em lies |somewher|
|00005580| 65 20 65 6c 73 65 2e 0d | 0d 49 20 72 65 6d 65 6d |e else..|.I remem|
|00005590| 62 65 72 20 73 6f 6d 65 | 74 68 69 6e 67 20 61 62 |ber some|thing ab|
|000055a0| 6f 75 74 20 61 73 79 6e | 63 20 46 69 6c 65 20 4d |out asyn|c File M|
|000055b0| 67 72 2e 20 63 61 6c 6c | 73 20 3a 20 75 6e 6c 69 |gr. call|s : unli|
|000055c0| 6b 65 20 64 65 76 69 63 | 65 20 6d 61 6e 61 67 65 |ke devic|e manage|
|000055d0| 72 0d 63 61 6c 6c 73 2c | 20 46 69 6c 65 20 4d 61 |r.calls,| File Ma|
|000055e0| 6e 61 67 65 72 20 63 61 | 6c 6c 73 20 41 4c 57 41 |nager ca|lls ALWA|
|000055f0| 59 53 20 63 61 6c 6c 73 | 20 74 68 65 20 63 6f 6d |YS calls| the com|
|00005600| 70 6c 65 74 69 6f 6e 20 | 72 6f 75 74 69 6e 65 20 |pletion |routine |
|00005610| 74 6f 20 68 61 6e 64 6c | 65 0d 74 68 65 20 72 65 |to handl|e.the re|
|00005620| 73 75 6c 74 20 63 6f 64 | 65 2c 20 61 6e 64 20 74 |sult cod|e, and t|
|00005630| 68 65 20 72 65 73 75 6c | 74 20 6f 66 20 74 68 65 |he resul|t of the|
|00005640| 20 61 73 79 6e 63 20 63 | 61 6c 6c 20 69 74 73 65 | async c|all itse|
|00005650| 6c 66 20 4d 41 59 20 62 | 65 20 67 61 72 62 61 67 |lf MAY b|e garbag|
|00005660| 65 2c 0d 65 76 65 6e 74 | 20 69 66 20 73 6f 6d 65 |e,.event| if some|
|00005670| 74 68 69 6e 67 20 69 73 | 20 77 72 6f 6e 67 20 77 |thing is| wrong w|
|00005680| 69 74 68 20 74 68 65 20 | 71 75 65 75 65 2e 20 54 |ith the |queue. T|
|00005690| 68 65 20 72 65 73 75 6c | 74 20 63 6f 64 65 20 79 |he resul|t code y|
|000056a0| 6f 75 20 73 68 6f 75 6c | 64 0d 75 73 65 20 69 73 |ou shoul|d.use is|
|000056b0| 20 74 68 65 20 6f 6e 65 | 20 72 65 74 75 72 6e 65 | the one| returne|
|000056c0| 64 20 74 6f 20 74 68 65 | 20 63 6f 6d 70 6c 65 74 |d to the| complet|
|000056d0| 69 6f 6e 20 72 6f 75 74 | 69 6e 65 20 28 6f 72 20 |ion rout|ine (or |
|000056e0| 69 6e 20 74 68 65 20 69 | 6f 52 65 73 75 6c 74 0d |in the i|oResult.|
|000056f0| 66 69 65 6c 64 20 6f 66 | 20 74 68 65 20 70 61 72 |field of| the par|
|00005700| 61 6d 62 6c 6f 63 6b 29 | 0d 0d 49 20 74 68 69 6e |amblock)|..I thin|
|00005710| 6b 20 69 20 72 65 61 64 | 20 74 68 69 73 20 69 6e |k i read| this in|
|00005720| 20 61 20 74 65 63 68 6e | 6f 74 65 20 6f 72 20 61 | a techn|ote or a|
|00005730| 20 51 26 41 2e 2e 2e 20 | 0d 0d 42 65 6e 48 2e 0d | Q&A... |..BenH..|
|00005740| 0d 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |.+++++++|++++++++|
|00005750| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 0d 0d 3e 46 |++++++++|++++..>F|
|00005760| 72 6f 6d 20 6c 64 6f 40 | 77 61 69 6b 61 74 6f 2e |rom ldo@|waikato.|
|00005770| 61 63 2e 6e 7a 20 28 4c | 61 77 72 65 6e 63 65 20 |ac.nz (L|awrence |
|00005780| 44 27 4f 6c 69 76 65 69 | 72 6f 2c 20 57 61 69 6b |D'Olivei|ro, Waik|
|00005790| 61 74 6f 20 55 6e 69 76 | 65 72 73 69 74 79 29 0d |ato Univ|ersity).|
|000057a0| 44 61 74 65 3a 20 32 33 | 20 41 75 67 20 39 34 20 |Date: 23| Aug 94 |
|000057b0| 31 38 3a 30 35 3a 31 33 | 20 2b 31 32 30 30 0d 4f |18:05:13| +1200.O|
|000057c0| 72 67 61 6e 69 7a 61 74 | 69 6f 6e 3a 20 55 6e 69 |rganizat|ion: Uni|
|000057d0| 76 65 72 73 69 74 79 20 | 6f 66 20 57 61 69 6b 61 |versity |of Waika|
|000057e0| 74 6f 2c 20 48 61 6d 69 | 6c 74 6f 6e 2c 20 4e 65 |to, Hami|lton, Ne|
|000057f0| 77 20 5a 65 61 6c 61 6e | 64 0d 0d 49 6e 20 61 72 |w Zealan|d..In ar|
|00005800| 74 69 63 6c 65 20 3c 63 | 68 72 69 73 2d 62 2d 32 |ticle <c|hris-b-2|
|00005810| 31 30 38 39 34 31 38 31 | 39 31 32 30 30 30 31 40 |10894181|9120001@|
|00005820| 68 6d 75 37 2e 63 73 2e | 61 75 6b 75 6e 69 2e 61 |hmu7.cs.|aukuni.a|
|00005830| 63 2e 6e 7a 3e 2c 20 63 | 68 72 69 73 2d 62 40 63 |c.nz>, c|hris-b@c|
|00005840| 73 2e 61 75 63 6b 6c 61 | 6e 64 2e 61 63 2e 6e 7a |s.auckla|nd.ac.nz|
|00005850| 20 28 43 68 72 69 73 20 | 42 75 72 6e 73 29 20 77 | (Chris |Burns) w|
|00005860| 72 69 74 65 73 3a 0d 3e | 20 49 6e 20 61 72 74 69 |rites:.>| In arti|
|00005870| 63 6c 65 20 3c 39 36 36 | 38 41 41 37 41 45 32 34 |cle <966|8AA7AE24|
|00005880| 34 2e 34 34 45 35 45 40 | 6b 6c 6b 6d 61 63 30 30 |4.44E5E@|klkmac00|
|00005890| 34 2e 6e 61 64 61 2e 6b | 74 68 2e 73 65 3e 2c 20 |4.nada.k|th.se>, |
|000058a0| 68 2b 40 6e 61 64 61 2e | 6b 74 68 2e 73 65 20 28 |h+@nada.|kth.se (|
|000058b0| 4a 6f 6e 0d 3e 20 57 7b | 74 74 65 29 20 77 72 6f |Jon.> W{|tte) wro|
|000058c0| 74 65 3a 0d 3e 0d 3e 3e | 20 49 6e 20 61 72 74 69 |te:.>.>>| In arti|
|000058d0| 63 6c 65 20 3c 63 68 72 | 69 73 2d 62 2d 32 30 30 |cle <chr|is-b-200|
|000058e0| 38 39 34 30 30 35 38 30 | 32 30 30 30 31 40 68 6d |89400580|20001@hm|
|000058f0| 75 37 2e 63 73 2e 61 75 | 6b 75 6e 69 2e 61 63 2e |u7.cs.au|kuni.ac.|
|00005900| 6e 7a 3e 2c 0d 3e 3e 20 | 63 68 72 69 73 2d 62 40 |nz>,.>> |chris-b@|
|00005910| 63 73 2e 61 75 63 6b 6c | 61 6e 64 2e 61 63 2e 6e |cs.auckl|and.ac.n|
|00005920| 7a 20 28 43 68 72 69 73 | 20 42 75 72 6e 73 29 20 |z (Chris| Burns) |
|00005930| 77 72 6f 74 65 3a 0d 3e | 3e 0d 3e 3e 20 54 68 61 |wrote:.>|>.>> Tha|
|00005940| 74 27 73 20 62 65 63 61 | 75 73 65 20 79 6f 75 27 |t's beca|use you'|
|00005950| 72 65 20 74 65 73 74 69 | 6e 67 20 74 68 65 20 72 |re testi|ng the r|
|00005960| 65 74 75 72 6e 20 76 61 | 6c 75 65 20 6f 66 20 61 |eturn va|lue of a|
|00005970| 6e 20 61 73 79 6e 63 68 | 72 6f 6e 6f 75 73 0d 3e |n asynch|ronous.>|
|00005980| 3e 20 63 61 6c 6c 2e 20 | 59 6f 75 27 72 65 20 6e |> call. |You're n|
|00005990| 6f 74 20 73 75 70 70 6f | 73 65 64 20 74 6f 20 64 |ot suppo|sed to d|
|000059a0| 6f 20 74 68 61 74 2c 20 | 73 69 6e 63 65 20 74 68 |o that, |since th|
|000059b0| 65 72 65 27 73 20 6e 6f | 20 65 72 72 6f 72 20 74 |ere's no| error t|
|000059c0| 6f 0d 3e 3e 20 72 65 74 | 75 72 6e 20 74 68 65 72 |o.>> ret|urn ther|
|000059d0| 65 20 79 65 74 3b 20 69 | 6e 73 74 65 61 64 20 79 |e yet; i|nstead y|
|000059e0| 6f 75 27 72 65 20 73 75 | 70 70 6f 73 65 64 20 74 |ou're su|pposed t|
|000059f0| 6f 20 74 65 73 74 20 69 | 6f 52 65 73 75 6c 74 20 |o test i|oResult |
|00005a00| 69 6e 20 74 68 65 0d 3e | 3e 20 63 6f 6d 70 6c 65 |in the.>|> comple|
|00005a10| 74 69 6f 6e 20 70 72 6f | 63 2c 20 6f 72 20 70 6f |tion pro|c, or po|
|00005a20| 6c 6c 20 69 6f 52 65 73 | 75 6c 74 20 75 6e 74 69 |ll ioRes|ult unti|
|00005a30| 6c 20 69 74 27 73 20 6e | 6f 74 20 31 2e 0d 3e 0d |l it's n|ot 1..>.|
|00005a40| 3e 20 53 6f 72 72 79 20 | 4a 6f 6e 2c 20 49 20 64 |> Sorry |Jon, I d|
|00005a50| 6f 6e 27 74 20 62 75 79 | 20 69 74 2e 0d 3e 0d 3e |on't buy| it..>.>|
|00005a60| 20 28 49 27 6d 20 61 73 | 73 75 6d 69 6e 67 20 74 | (I'm as|suming t|
|00005a70| 68 61 74 20 49 4d 2d 49 | 56 20 43 68 70 74 20 31 |hat IM-I|V Chpt 1|
|00005a80| 39 20 5b 46 69 6c 65 20 | 4d 61 6e 61 67 65 72 5d |9 [File |Manager]|
|00005a90| 20 69 73 20 73 74 69 6c | 6c 20 76 61 6c 69 64 20 | is stil|l valid |
|00005aa0| 62 65 63 61 75 73 65 20 | 69 74 0d 3e 20 64 6f 63 |because |it.> doc|
|00005ab0| 75 6d 65 6e 74 73 20 74 | 68 65 20 6c 6f 77 2d 6c |uments t|he low-l|
|00005ac0| 65 76 65 6c 20 66 69 6c | 65 20 6d 61 6e 61 67 65 |evel fil|e manage|
|00005ad0| 72 20 72 6f 75 74 69 6e | 65 73 3b 20 49 20 68 61 |r routin|es; I ha|
|00005ae0| 76 6e 27 74 20 6c 6f 6f | 6b 65 64 20 61 74 0d 3e |vn't loo|ked at.>|
|00005af0| 20 4e 49 4d 3a 46 69 6c | 65 73 29 0d 3e 0d 3e 20 | NIM:Fil|es).>.> |
|00005b00| 43 68 65 63 6b 20 6f 75 | 74 20 49 4d 2d 49 56 20 |Check ou|t IM-IV |
|00005b10| 50 67 20 31 31 39 3a 0d | 3e 0d 3e 20 22 52 6f 75 |Pg 119:.|>.> "Rou|
|00005b20| 74 69 6e 65 73 20 74 68 | 61 74 20 61 72 65 20 65 |tines th|at are e|
|00005b30| 78 65 63 75 74 65 64 20 | 61 73 79 6e 63 68 72 6f |xecuted |asynchro|
|00005b40| 6e 6f 75 73 6c 79 20 72 | 65 74 75 72 6e 20 63 6f |nously r|eturn co|
|00005b50| 6e 74 72 6f 6c 20 74 6f | 20 74 68 65 20 63 61 6c |ntrol to| the cal|
|00005b60| 6c 69 6e 67 0d 3e 20 70 | 72 6f 67 72 61 6d 20 77 |ling.> p|rogram w|
|00005b70| 69 74 68 20 74 68 65 20 | 72 65 73 75 6c 74 20 63 |ith the |result c|
|00005b80| 6f 64 65 20 6e 6f 45 72 | 72 20 61 73 20 73 6f 6f |ode noEr|r as soo|
|00005b90| 6e 20 61 73 20 74 68 65 | 20 63 61 6c 6c 20 69 73 |n as the| call is|
|00005ba0| 20 70 6c 61 63 65 64 20 | 69 6e 20 74 68 65 0d 3e | placed |in the.>|
|00005bb0| 20 66 69 6c 65 20 49 2f | 4f 20 71 75 65 75 65 2e | file I/|O queue.|
|00005bc0| 20 54 68 69 73 20 69 73 | 6e 27 74 20 61 6e 20 69 | This is|n't an i|
|00005bd0| 6e 64 69 63 61 74 69 6f | 6e 20 6f 66 20 73 75 63 |ndicatio|n of suc|
|00005be0| 63 65 73 73 66 75 6c 20 | 63 61 6c 6c 20 63 6f 6d |cessful |call com|
|00005bf0| 70 6c 65 74 69 6f 6e 2c | 0d 3e 20 62 75 74 20 73 |pletion,|.> but s|
|00005c00| 69 6d 70 6c 79 20 69 6e | 64 69 63 61 74 65 73 20 |imply in|dicates |
|00005c10| 74 68 61 74 20 74 68 65 | 20 63 61 6c 6c 20 77 61 |that the| call wa|
|00005c20| 73 20 73 75 63 63 65 73 | 73 66 75 6c 6c 79 20 71 |s succes|sfully q|
|00005c30| 75 65 75 65 64 2e 22 0d | 0d 54 68 65 72 65 20 69 |ueued.".|.There i|
|00005c40| 73 20 61 20 74 65 63 68 | 6e 6f 74 65 20 73 6f 6d |s a tech|note som|
|00005c50| 65 77 68 65 72 65 20 77 | 68 69 63 68 20 63 6f 72 |ewhere w|hich cor|
|00005c60| 72 65 63 74 73 20 74 68 | 69 73 2e 20 42 61 73 69 |rects th|is. Basi|
|00005c70| 63 61 6c 6c 79 2c 20 79 | 6f 75 20 73 68 6f 75 6c |cally, y|ou shoul|
|00005c80| 64 6e 27 74 0d 62 6f 74 | 68 65 72 20 63 68 65 63 |dn't.bot|her chec|
|00005c90| 6b 69 6e 67 20 74 68 65 | 20 69 6d 6d 65 64 69 61 |king the| immedia|
|00005ca0| 74 65 20 72 65 74 75 72 | 6e 20 63 6f 64 65 20 66 |te retur|n code f|
|00005cb0| 72 6f 6d 20 5f 61 6e 79 | 5f 20 61 73 79 6e 63 20 |rom _any|_ async |
|00005cc0| 63 61 6c 6c 2e 20 49 20 | 72 65 63 65 6e 74 6c 79 |call. I |recently|
|00005cd0| 0d 67 6f 74 20 62 75 72 | 6e 65 64 20 77 69 74 68 |.got bur|ned with|
|00005ce0| 20 74 68 69 73 20 64 6f | 69 6e 67 20 61 73 79 6e | this do|ing asyn|
|00005cf0| 63 20 73 6f 75 6e 64 20 | 72 65 63 6f 72 64 69 6e |c sound |recordin|
|00005d00| 67 3a 20 6d 79 20 63 61 | 6c 6c 20 74 6f 20 53 50 |g: my ca|ll to SP|
|00005d10| 42 52 65 63 6f 72 64 20 | 77 6f 72 6b 65 64 0d 66 |BRecord |worked.f|
|00005d20| 69 6e 65 20 65 76 65 72 | 79 77 68 65 72 65 20 5f |ine ever|ywhere _|
|00005d30| 65 78 63 65 70 74 5f 20 | 6f 6e 20 61 20 35 30 30 |except_ |on a 500|
|00005d40| 2d 73 65 72 69 65 73 20 | 50 6f 77 65 72 42 6f 6f |-series |PowerBoo|
|00005d50| 6b 2c 20 61 6e 64 20 74 | 68 65 6e 20 6f 6e 6c 79 |k, and t|hen only|
|00005d60| 20 77 68 65 6e 20 49 0d | 69 6e 76 6f 6b 65 64 20 | when I.|invoked |
|00005d70| 61 20 63 6f 6d 62 69 6e | 61 74 69 6f 6e 20 6f 66 |a combin|ation of|
|00005d80| 20 63 65 72 74 61 69 6e | 20 6f 74 68 65 72 20 72 | certain| other r|
|00005d90| 65 63 6f 72 64 69 6e 67 | 20 6f 70 74 69 6f 6e 73 |ecording| options|
|00005da0| 20 61 74 20 74 68 65 20 | 73 61 6d 65 20 74 69 6d | at the |same tim|
|00005db0| 65 2e 0d 0d 54 68 65 72 | 65 20 69 73 20 6f 6e 65 |e...Ther|e is one|
|00005dc0| 20 73 69 74 75 61 74 69 | 6f 6e 20 77 68 65 72 65 | situati|on where|
|00005dd0| 20 79 6f 75 20 73 68 6f | 75 6c 64 20 62 65 20 63 | you sho|uld be c|
|00005de0| 61 72 65 66 75 6c 20 61 | 62 6f 75 74 20 70 6f 6c |areful a|bout pol|
|00005df0| 6c 69 6e 67 20 69 6f 52 | 65 73 75 6c 74 0d 28 41 |ling ioR|esult.(A|
|00005e00| 6e 64 20 49 27 6d 20 6e | 6f 74 20 74 61 6c 6b 69 |nd I'm n|ot talki|
|00005e10| 6e 67 20 61 62 6f 75 74 | 20 62 65 69 6e 67 20 73 |ng about| being s|
|00005e20| 74 75 70 69 64 2c 20 73 | 69 74 74 69 6e 67 20 69 |tupid, s|itting i|
|00005e30| 6e 20 61 20 74 69 67 68 | 74 20 6c 6f 6f 70 20 61 |n a tigh|t loop a|
|00005e40| 74 20 69 6e 74 65 72 72 | 75 70 74 0d 6c 65 76 65 |t interr|upt.leve|
|00005e50| 6c 2c 20 62 6c 6f 63 6b | 69 6e 67 20 74 68 65 20 |l, block|ing the |
|00005e60| 63 6f 6d 70 6c 65 74 69 | 6f 6e 20 6f 66 20 74 68 |completi|on of th|
|00005e70| 65 20 63 61 6c 6c 20 79 | 6f 75 27 72 65 20 70 6f |e call y|ou're po|
|00005e80| 6c 6c 69 6e 67 20 66 6f | 72 21 29 3a 20 74 68 65 |lling fo|r!): the|
|00005e90| 20 50 50 43 0d 54 6f 6f | 6c 62 6f 78 2e 20 49 6e | PPC.Too|lbox. In|
|00005ea0| 20 53 79 73 74 65 6d 20 | 37 2e 30 2c 20 74 68 65 | System |7.0, the|
|00005eb0| 20 50 50 43 20 54 6f 6f | 6c 62 6f 78 20 73 65 74 | PPC Too|lbox set|
|00005ec0| 73 20 69 6f 52 65 73 75 | 6c 74 20 73 6f 6d 65 20 |s ioResu|lt some |
|00005ed0| 74 69 6d 65 20 62 65 66 | 6f 72 65 20 69 74 0d 64 |time bef|ore it.d|
|00005ee0| 65 71 75 65 75 65 73 20 | 74 68 65 20 70 61 72 61 |equeues |the para|
|00005ef0| 6d 65 74 65 72 20 62 6c | 6f 63 6b 20 66 72 6f 6d |meter bl|ock from|
|00005f00| 20 69 74 73 20 72 65 71 | 75 65 73 74 20 71 75 65 | its req|uest que|
|00005f10| 75 65 2e 20 54 68 69 73 | 20 6d 65 61 6e 73 20 69 |ue. This| means i|
|00005f20| 66 20 79 6f 75 20 68 61 | 76 65 0d 61 6e 20 69 6e |f you ha|ve.an in|
|00005f30| 74 65 72 72 75 70 74 20 | 72 6f 75 74 69 6e 65 20 |terrupt |routine |
|00005f40| 74 68 61 74 20 70 65 72 | 69 6f 64 69 63 61 6c 6c |that per|iodicall|
|00005f50| 79 20 63 68 65 63 6b 73 | 20 74 68 65 20 69 6f 52 |y checks| the ioR|
|00005f60| 65 73 75 6c 74 20 66 72 | 6f 6d 20 61 20 50 50 43 |esult fr|om a PPC|
|00005f70| 20 54 6f 6f 6c 62 6f 78 | 0d 72 65 71 75 65 73 74 | Toolbox|.request|
|00005f80| 2c 20 61 6e 64 20 61 73 | 73 75 6d 65 73 20 74 68 |, and as|sumes th|
|00005f90| 65 20 70 61 72 61 6d 65 | 74 65 72 20 62 6c 6f 63 |e parame|ter bloc|
|00005fa0| 6b 20 63 61 6e 20 62 65 | 20 72 65 75 73 65 64 20 |k can be| reused |
|00005fb0| 74 68 65 20 6d 6f 6d 65 | 6e 74 20 69 74 20 67 6f |the mome|nt it go|
|00005fc0| 65 73 20 30 0d 6f 72 20 | 6e 65 67 61 74 69 76 65 |es 0.or |negative|
|00005fd0| 2c 20 79 6f 75 20 63 6f | 75 6c 64 20 62 65 20 69 |, you co|uld be i|
|00005fe0| 6e 20 66 6f 72 20 61 20 | 63 72 61 73 68 2e 20 49 |n for a |crash. I|
|00005ff0| 66 20 79 6f 75 20 73 70 | 65 63 69 66 79 20 61 20 |f you sp|ecify a |
|00006000| 63 6f 6d 70 6c 65 74 69 | 6f 6e 20 72 6f 75 74 69 |completi|on routi|
|00006010| 6e 65 2c 0d 74 68 65 6e | 20 74 68 65 20 70 61 72 |ne,.then| the par|
|00006020| 61 6d 65 74 65 72 20 62 | 6c 6f 63 6b 20 63 61 6e |ameter b|lock can|
|00006030| 20 62 65 20 73 61 66 65 | 6c 79 20 72 65 75 73 65 | be safe|ly reuse|
|00006040| 64 20 77 68 65 6e 20 74 | 68 69 73 20 72 6f 75 74 |d when t|his rout|
|00006050| 69 6e 65 20 69 73 20 63 | 61 6c 6c 65 64 2e 0d 0d |ine is c|alled...|
|00006060| 49 20 75 6e 64 65 72 73 | 74 61 6e 64 20 74 68 69 |I unders|tand thi|
|00006070| 73 20 6d 69 67 68 74 20 | 62 65 20 66 69 78 65 64 |s might |be fixed|
|00006080| 20 69 6e 20 6c 61 74 65 | 72 20 53 79 73 74 65 6d | in late|r System|
|00006090| 73 2c 20 62 75 74 20 49 | 27 6d 20 6e 6f 74 20 73 |s, but I|'m not s|
|000060a0| 75 72 65 20 77 68 69 63 | 68 20 6f 6e 65 73 2e 0d |ure whic|h ones..|
|000060b0| 49 66 20 4a 69 6d 20 4c | 75 74 68 65 72 20 69 73 |If Jim L|uther is|
|000060c0| 20 72 65 61 64 69 6e 67 | 20 74 68 69 73 2c 20 68 | reading| this, h|
|000060d0| 65 20 6d 69 67 68 74 20 | 62 65 20 61 62 6c 65 20 |e might |be able |
|000060e0| 74 6f 20 75 70 64 61 74 | 65 20 75 73 2e 2e 2e 0d |to updat|e us....|
|000060f0| 0d 4c 61 77 72 65 6e 63 | 65 20 44 27 4f 6c 69 76 |.Lawrenc|e D'Oliv|
|00006100| 65 69 72 6f 20 20 20 20 | 20 20 20 20 20 20 20 20 |eiro | |
|00006110| 20 20 20 20 20 20 20 20 | 20 20 20 66 6f 6e 65 3a | | fone:|
|00006120| 20 2b 36 34 2d 37 2d 38 | 35 36 2d 32 38 38 39 0d | +64-7-8|56-2889.|
|00006130| 49 6e 66 6f 20 26 20 54 | 65 63 68 20 53 65 72 76 |Info & T|ech Serv|
|00006140| 69 63 65 73 20 44 69 76 | 69 73 69 6f 6e 20 20 20 |ices Div|ision |
|00006150| 20 20 20 20 20 20 20 20 | 20 20 20 66 61 78 3a 20 | | fax: |
|00006160| 2b 36 34 2d 37 2d 38 33 | 38 2d 34 30 36 36 0d 55 |+64-7-83|8-4066.U|
|00006170| 6e 69 76 65 72 73 69 74 | 79 20 6f 66 20 57 61 69 |niversit|y of Wai|
|00006180| 6b 61 74 6f 20 20 20 20 | 20 20 20 20 20 20 20 20 |kato | |
|00006190| 65 6c 65 63 74 72 69 63 | 20 6d 61 69 6c 3a 20 6c |electric| mail: l|
|000061a0| 64 6f 40 77 61 69 6b 61 | 74 6f 2e 61 63 2e 6e 7a |do@waika|to.ac.nz|
|000061b0| 0d 48 61 6d 69 6c 74 6f | 6e 2c 20 4e 65 77 20 5a |.Hamilto|n, New Z|
|000061c0| 65 61 6c 61 6e 64 20 20 | 20 20 33 37 5e 20 34 37 |ealand | 37^ 47|
|000061d0| 27 20 32 36 22 20 53 2c | 20 31 37 35 5e 20 31 39 |' 26" S,| 175^ 19|
|000061e0| 27 20 37 22 20 45 2c 20 | 47 4d 54 2b 31 32 3a 30 |' 7" E, |GMT+12:0|
|000061f0| 30 0d 0d 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |0..+++++|++++++++|
|00006200| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 0d 0d |++++++++|++++++..|
|00006210| 3e 46 72 6f 6d 20 63 68 | 72 69 73 2d 62 40 63 73 |>From ch|ris-b@cs|
|00006220| 2e 61 75 63 6b 6c 61 6e | 64 2e 61 63 2e 6e 7a 20 |.aucklan|d.ac.nz |
|00006230| 28 43 68 72 69 73 20 42 | 75 72 6e 73 29 0d 44 61 |(Chris B|urns).Da|
|00006240| 74 65 3a 20 57 65 64 2c | 20 32 34 20 41 75 67 20 |te: Wed,| 24 Aug |
|00006250| 31 39 39 34 20 31 32 3a | 34 37 3a 33 36 20 2b 31 |1994 12:|47:36 +1|
|00006260| 32 30 30 0d 4f 72 67 61 | 6e 69 7a 61 74 69 6f 6e |200.Orga|nization|
|00006270| 3a 20 41 75 63 6b 6c 61 | 6e 64 55 6e 69 76 65 72 |: Auckla|ndUniver|
|00006280| 73 69 74 79 3a 43 6f 6d | 70 75 74 65 72 53 63 69 |sity:Com|puterSci|
|00006290| 65 6e 63 65 3a 48 4d 55 | 0d 0d 49 6e 20 61 72 74 |ence:HMU|..In art|
|000062a0| 69 63 6c 65 20 3c 4a 61 | 65 67 65 72 2d 32 31 30 |icle <Ja|eger-210|
|000062b0| 38 39 34 30 39 34 31 34 | 31 30 30 30 31 40 73 6c |89409414|10001@sl|
|000062c0| 69 70 2d 31 2d 38 38 2e | 6f 74 73 2e 75 74 65 78 |ip-1-88.|ots.utex|
|000062d0| 61 73 2e 65 64 75 3e 2c | 0d 4a 61 65 67 65 72 40 |as.edu>,|.Jaeger@|
|000062e0| 66 71 75 65 73 74 2e 63 | 6f 6d 20 28 42 72 69 61 |fquest.c|om (Bria|
|000062f0| 6e 20 53 74 65 72 6e 29 | 20 77 72 6f 74 65 3a 0d |n Stern)| wrote:.|
|00006300| 0d 3e 20 53 6f 20 77 68 | 79 20 6e 6f 74 20 63 68 |.> So wh|y not ch|
|00006310| 61 6e 67 65 20 69 74 20 | 74 6f 20 74 68 69 73 3a |ange it |to this:|
|00006320| 0d 3e 20 0d 3e 20 23 69 | 66 20 55 53 45 53 36 38 |.> .> #i|f USES68|
|00006330| 4b 49 4e 4c 49 4e 45 53 | 0d 3e 20 23 70 72 61 67 |KINLINES|.> #prag|
|00006340| 6d 61 20 70 61 72 61 6d | 65 74 65 72 20 5f 5f 44 |ma param|eter __D|
|00006350| 30 20 43 6f 6d 70 6c 65 | 74 69 6f 6e 50 72 6f 63 |0 Comple|tionProc|
|00006360| 28 5f 5f 41 30 29 0d 3e | 20 23 65 6e 64 69 66 0d |(__A0).>| #endif.|
|00006370| 3e 20 0d 3e 20 70 61 73 | 63 61 6c 20 4f 53 45 72 |> .> pas|cal OSEr|
|00006380| 72 20 43 6f 6d 70 6c 65 | 74 69 6f 6e 50 72 6f 63 |r Comple|tionProc|
|00006390| 28 48 50 61 72 6d 42 6c | 6b 50 74 72 20 48 50 42 |(HParmBl|kPtr HPB|
|000063a0| 29 0d 3e 20 7b 0d 3e 20 | 6c 6f 6e 67 20 53 61 76 |).> {.> |long Sav|
|000063b0| 65 64 41 35 20 3d 20 53 | 65 74 41 35 28 28 28 56 |edA5 = S|etA5(((V|
|000063c0| 6f 6c 50 42 50 74 72 29 | 48 50 42 29 2d 3e 41 70 |olPBPtr)|HPB)->Ap|
|000063d0| 70 41 35 29 3b 0d 3e 20 | 0d 3e 20 20 20 20 20 67 |pA5);.> |.> g|
|000063e0| 4e 75 6d 44 72 69 76 65 | 73 44 6f 6e 65 2b 2b 3b |NumDrive|sDone++;|
|000063f0| 0d 3e 20 20 20 20 20 44 | 65 62 75 67 53 74 72 28 |.> D|ebugStr(|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.